Question: Create a function using c++ -prompt user to input 5 float numbers in console -create a function to find the max and min number of

Create a function using c++
-prompt user to input 5 float numbers in console
-create a function to find the max and min number of the array
- create a function to display the max and min depending on what command 0 or 9 is being typed by the user in console
 Create a function using c++ -prompt user to input 5 float

Read in 5 float numbers one by one by using cin MyMax = FindMax (..) ; MyMn = FinxMin ( ); // call FindMin func prompt user to input0' or '9'; and read in UserCommand DisplayResult (.. .); // call FinxMax func // call DisplayResult() float FindMax (float InputNum[5]) //a func to find max float FindMin (float InputNum[5]) //a func to find in void DisplayResult (char UserCommand) //a func to display max/in switch (UserInput)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!