Question: Write a C++ menu driven program First load an array(lists) with the values 3, 4, 84, 5, 2, 47, and 7 in this order Create
Write a C++ menu driven program
First load an array(lists) with the values 3, 4, 84, 5, 2, 47, and 7 in this order
Create a program with a menu, with choices 1 for minimum value, 2 for maximum value , 3 for average, and 4 to quit.
Use a do loop (not while)
Use a switch statement inside the loop to make your choice of 1, 2, or 3 for Java and C++
Create subroutines or methods for menu choices 1 and 2 named maxvalue and minvalue
Pass your array and array size to these subroutines/methods.
Do not use any built in functions to find the minimum or maximum, just use a sequential search of the array.
Print out the minimum and maximum values in the array.
You also need to include a screen shot of your menu on the screen in your submission.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
