Question: in C++ please. 3 Write a C++ program that accept 4 positive real numbers and compute the dif- ference between the highest number and the

 in C++ please. 3 Write a C++ program that accept 4in C++ please.

3 Write a C++ program that accept 4 positive real numbers and compute the dif- ference between the highest number and the lowest number. All input numbers should be real numbers between 0 and 1,000,000. Note that you are not allowed to use if-else. Sample Output Input for real numbers between 0 and 1,000,000. 6739 2.4774 999903.99 56382.00001 Difference between the highest and lowest number: 999901.5126

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!