program noname;
var
i, s: integer;
begin
i:= 1;
s:= 0;
while i < 11 do
s:= s + (i * i);
Inc(i);
end;
write ('Сумма: ', s);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
program noname;
var
i, s: integer;
begin
i:= 1;
s:= 0;
while i < 11 do
begin
s:= s + (i * i);
Inc(i);
end;
write ('Сумма: ', s);
end.