Assignment 3 Extra Credit

Modify assignment 3 to support the following:

    After completing an operation allow the user to choose to run again or to quit.

Example

    Would you like to run again (y)es or (n)o?

 

If the user enters y, then the program should display the initial menu. If the user enters n, then you should call trap 0.