Display an error message
(Display Listing 3.)
The error message shown in Figure 13 is displayed if the integer value entered by the user is outside the range of 1 through 3 inclusive.
Figure 13. Output for input outside the range of 1 through 3 inclusive for program Alice0165c.