Question: needs to be in C++ 4. Write an interactive program to calculate the value of x,y, and z, then determine the 5. average, and the
4. Write an interactive program to calculate the value of x,y, and z, then determine the 5. average, and the minimum and maximum value between x,y, and z. The values of x, y, and z. x=2cb+b2+4ay=a4bc2z=ca2b3 (10 marks) You are supposed to: 1) Ask the user to enter the values for a,b and c. 2) Compute and display the value of a and x,y and z. 3) Find the maximum and minimum value between x,y, and z (Tip: you can use Math class). 4) Compute and display the average of x,y, and z. 5) Format your output into two decimal points. 6) Use appropriate Math class methods wherever suitable. 7) Sample run is as follows
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
