Question: 2 20. Write a C++ program that allows the user to enter any number of 3 nonnegative double-precision floating-point values. The user terminates the 4
2 20. Write a C++ program that allows the user to enter any number of 3 nonnegative double-precision floating-point values. The user terminates the 4 input list with any negative value. The program then prints the sum, average 5 (arithmetic mean), maximum, and minimum of the values entered. The terminating 6 negative value is not used in the computations. If the first number the user 7 supplies is negative, the program simply prints the text NO NUMBERS PROVIDED. 8/ 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
