Understanding Code

 

Slide 19

next »

The last iteration. Here, i and n are both 6, so i is not less than n and the loop ends.