Menu-driven text applications. Take your solutions to any number of the previous

Menu-driven text applications. Take your solutions to any number of the previous 5 problems and upgrade your program to present a menu-driven text-based application that presents the user with a set of choices, e.g., (1) sum of 5 numbers, (2) average of 5 numbers, … (X) Quit. The user makes a selection, which is then executed. The program exits when the user choose the “quit” option. The great advantage to a program like this is that it allows the user to run as many iterations of your solutions without having to necessarily restart the same program over and over again. (It is also good for the developer who is usually the first user main quality assurance engineer of their applications!)

You may also like