Purpose of the statement

(Display Figure 4.)

The purpose of the statement is:

(Display Listing 1.)

This statement appears for the first time immediately after the user enters a value into userInputValue and before control enters the while loop.

The same statement appears again later at the end of the body of the while loop.