void main(){int n=2,i=2;while(n<100) { for(int j=2;j<=sqrt(i);j++) { if(i%j) continue; else break; } if(j>sqrt(i)) cout<<i<<endl; i++; n++; } }