Understanding Code

 

Slide 14

next »

The next iteration of the loop. The value of i is now 3, a prime - so that the number of primes at the end of this iteration of the loop is 2.