var
sum:real;
x,n:integer;
begin
readln(n);
begin
sum:=0;
for x:=1 downto 1/n*n do
sum:=sum+x;
end;
writeln(sum);
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.