Slide 24 of 97
Notes:
The third step is to decrement the loop counter just before we exit the loop.