Press any key to terminate

Listing 6 also terminates the program when the user presses any key.

Have explained code similar to Listing 6 in previous lessons.

Further explanation of that code in this lesson should not be necessary.