RosettaCodeData/Task/Loops-For-with-a-specified-step/Delphi/loops-for-with-a-specified-step.delphi
2023-07-01 13:44:08 -04:00

13 lines
142 B
Text

program LoopWithStep;
{$APPTYPE CONSOLE}
var
i: Integer;
begin
i:=2;
while i <= 8 do begin
WriteLn(i);
Inc(i, 2);
end;
end.