Программа с while
program raf105;
var a:integer;
begin
while a<>15 do
a:=a+1;
writeln(a);
end
end.
Программа с repeat
repeat
until a=15;
Написано на языке PascalABC.NET
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Программа с while
program raf105;
var a:integer;
begin
while a<>15 do
begin
a:=a+1;
writeln(a);
end
end.
Программа с repeat
program raf105;
var a:integer;
begin
repeat
a:=a+1;
writeln(a);
until a=15;
end.
Написано на языке PascalABC.NET