fork download
  1. program ideone;
  2. var a,b,n,i : integer;
  3. begin
  4. a:=3;
  5. n:=50;
  6. b:=0;
  7. for i := 1 to n do
  8. begin
  9. b := a * i ;
  10. writeln (b);
  11. b := 0;
  12. end;
  13. end.
Success #stdin #stdout 0s 5324KB
stdin
Standard input is empty
stdout
3
6
9
12
15
18
21
24
27
30
33
36
39
42
45
48
51
54
57
60
63
66
69
72
75
78
81
84
87
90
93
96
99
102
105
108
111
114
117
120
123
126
129
132
135
138
141
144
147
150