#include <iostream>using namespace std; int main() { int a; for(a=1;a<=100;a=a+3) cout<<a<<endl; return 0;}
Standard input is empty
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
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!