Wyo Java
Ch19Proj8

The program must present the following menu exactly:

S - Send a message
R - Read next message
D - Delete all unread messages
X - Exit

The S menu option prompts the user with "Type your message: " and then accepts an "email message" that can include spaces. The email message must be stored in an "unread email" queue. The R menu option displays the next email message from the unread email queue. If there are no unread email messages in the unread email queue, display the message "There are no unread messages." The D menu option deletes all unread email messages in the unread email queue. The X menu option exits the program. If the user enters an illegal menu option warn the user with the message "You entered an illegal command." and display the menu again. Allow the user to type uppercase or lettercase letters for the menu options.

You must use College Board Queue interface

Preconditions: