Ask the user to enter an integer
(Display Listing 3.)
This program asks the user to enter an integer between 1 and 3 inclusive as shown in Figure 11.
Figure 11. User input dialog for program named Alice0165c.