if(i % j ==0) /*THIS BIT HERE - NOTHING - IS WHAT GETS RUN, BECAUSE OF THE SEMI-COLON HERE */;
1234567891011121314151617181920212223242526
#include <iostream> using namespace std; int main() { int i,j; system("cls"); for(i=2 ; i<=541 ; i++) { for(j=2 ; j<=i ; j++) { if(i % j ==0); { if(i == j); } cout<<"\t";cout<<i; break; } } system("pause"); }