Example 9.8: Using Dialogs
- Objective: Display student exam scores. The program prompts the user to enter the user’s last name and the password in a dialog box. Upon receiving the correct user name and password, the program displays the student’s full name and the exam score.