2. Sum, Avg, Min, Max This is similar to the exercise we did in class but with two changes: (1) Use doubles instead of ints; (2) The user will be providing the numbers. Just like the class exercise,...

2. Sum, Avg, Min, Max This is similar to the exercise we did in class but with two changes: (1) Use doubles instead of ints; (2) The user will be providing the numbers. Just like the class exercise, output the sum, average, highest, and lowest of the user's numbers. Output: This program will ask you to enter 5 numbers with decimal places. It will then show you the total, average, largest number, and smallest number. Enter a number: [user types: 5.2] Enter a number: [user types: 9.8] Enter a number: [user types: 2.5] Enter a number: [user types: 17.5] Enter a number: [user types: 7.5] Total: 42.5 Average: 8.5 Lowest: 2.5 Highest: 17.5

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here