program abc;
var s:real;
i,n:integer;
begin
readln(n);
repeat
for i:=1 to n do
S:=s+6/7/n
until i=n ;
writeln(s);
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
program abc;
var s:real;
i,n:integer;
begin
readln(n);
repeat
for i:=1 to n do
S:=s+6/7/n
until i=n ;
writeln(s);
end.