RosettaCodeData/Task/Loops-Continue/PascalABC.NET/loops-continue.pas

13 lines
154 B
ObjectPascal
Raw Permalink Normal View History

2024-07-13 15:19:22 -07:00
begin
for var i:=1 to 10 do
begin
Write(i);
if i mod 5 = 0 then
begin
Writeln;
continue
end;
Write(', ');
end;
end.