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
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
Get step-by-step solutions from verified subject matter experts
