tags:

views:

104

answers:

0

Possible Duplicate:
C++ Prime number task from the book

Asked the question already but haven't gotten satisfiable answers; So can someone clear the following code on the level beginner could understand [I'm a beginner], it's from the book C++ From The Ground Up 3rd edition by Herbert Schildt

 int i, j;

 for(i=2; i<16; i++) {
  for(j=2; j<=(i/j); j++) //In this line I'm confused with the condition logic 
   if(!(i%j)) break ; 
  if(j>(i/j)) cout<<i<<" / "<<j<<endl; //This line confuses me most
  }