var
i, n : integer;
s : integer := 1;
begin
write('введите n=');
readln(n);
repeat
i += 1;
s *= i;
until i = n;
writeln('s=',s);
end.
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
i, n : integer;
s : integer := 1;
begin
write('введите n=');
readln(n);
repeat
i += 1;
s *= i;
until i = n;
writeln('s=',s);
end.