fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int a;
  6. for(a=1;a<=100;a=a+3)
  7. cout<<a<<endl;
  8. return 0;
  9. }
Success #stdin #stdout 0.01s 5276KB
stdin
Standard input is empty
stdout
1
4
7
10
13
16
19
22
25
28
31
34
37
40
43
46
49
52
55
58
61
64
67
70
73
76
79
82
85
88
91
94
97
100