Question: write a function that computes the maximum and the minimum numbers from a given list of four numbers. the maximum number is defined as the

write a function that computes the maximum and the minimum numbers from a given list of four numbers. the maximum number is defined as the largest number in the list while the minimum number is defined as the smallest. the function should have four parameters of n1, n2, n3, and n4 for the four numbers entered and will call two other functions. embed the function in the driver program that wants you to test the function again and again until you till the program that you are finished. the answer should be in C++

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!