1 2 3 4 5 6
int i=1; while(i%1001) { cout<<i<<endl; i++; }
int i = 1, j = 1000; while(j) { cout<<i<<endl; i++; j--; }