Getting user input

(Display Listing 2.)

This program uses the same code as the previous program to:

This code appears at two different locations within the program.