The variable named limit

(Display Listing 1.)

The user input value is stored in a variable named limit.

It will be used in the conditional clause of a for loop.

The loop counts from zero to one less than the value entered by the user, executing the body of the loop once for each count.

(Display Figure 2.)

The program displays a penguin during each iteration through the body of the loop as shown in Figure 2.

Figure 2. Program named Alice0180a while running.