When the conditional clause returns false...

(Display Listing 2.)

When the upper limit of 5 has been reached:

Figure 5. End of run for program named Alice0174b.