Ответ:
program z;
var n,i:integer;
S:real;
begin
S:=0;
read(n);
for i:=1 to n do S:=S+i/n;
write(S)
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
program z;
var n,i:integer;
S:real;
begin
S:=0;
read(n);
for i:=1 to n do S:=S+i/n;
write(S)
end.