fork download
  1. program ideone;
  2.  
  3. {$macro on}
  4. {$define doit:=do begin}
  5. {$define thenb:=then begin}
  6. var
  7. i : integer;
  8. begin
  9. (* your code goes here *)
  10. for i := 0 to 10 doit
  11. if i and 1 <> 0 thenb
  12. writeln(i);
  13. end;
  14. end;
  15. end.
Success #stdin #stdout 0s 5376KB
stdin
Standard input is empty
stdout
1
3
5
7
9