Loop and Half |
Smart pascal source code
var i: Integer; for i := 1 to 10 do begin WriteLn(i); if i < 10 then WriteLn(', '); end; WriteLn(' Done.'); {<<< RESULT - CONSOLE LOG >>> ----------------------------- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 Done. ----------------------------- {<<<<<<<<< THE END >>>>>>>>>}