Program Jum_Ihisel;
Var s: real; n:integer;
Begin
s:=0;
n:=8;
while s<21 do
begin
s:=s+5/n;
n:=n*2;
end;
writeln("Сумма= ", s);
End.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Program Jum_Ihisel;
Var s: real; n:integer;
Begin
s:=0;
n:=8;
while s<21 do
begin
s:=s+5/n;
n:=n*2;
end;
writeln("Сумма= ", s);
End.