Доделать
program suma;
var i, a, s: integer;
begin
writeln ('Введи ціле число');
read (a);
s:=0;
for i:=1 to a do
begin
s:= (допиши формулу)
end;
i:=i+1;
write ('Сума чисел від 1 до ', a, 'дорівнює ', s);
end.
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.