Ответ:
var sum:integer;
begin
sum:=0;
while true do
var b:= Readinteger;
if b = 0 then break
else
sum:=sum+b;
end;
Write('Summa: ', sum);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
var sum:integer;
begin
sum:=0;
while true do
begin
var b:= Readinteger;
if b = 0 then break
else
sum:=sum+b;
end;
Write('Summa: ', sum);
end.