User input values out of bounds

(Display Listing 1.)

If the user enters a value that is greater than 5:

The program automatically changes that value to 5 causing only five penguins to be displayed.

If the user enters a negative value:

No penguins are displayed because the body of the loop is never executed.