You need to write amenu driven program.The program allows a user to enter five numbers and then asks the user to select a choice from a menu. The menu should offer the following four options –
1. Display the smallest number entered2. Display the largest number entered3. Display the sum of the five numbers entered4. Display the average of the five numbers entered
You must use a "switch" statement in your code to determine what action to take. Provide an error message if an invalid choice is entered.
Run the program five times, once using each option and once with an invalid option. Each run is to use the following set of data:18, 21, 17, 44, 9.
Submit a Word file with IPO (10 points), source code (80 points) and the screenshots of the results of the five program runs (10 points).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here