Question: cise 5: Write a C+ program that asks the user to enter a sequence of ten integers. program calculates The sum of all input values

cise 5: Write a C+ program that asks the user to enter a sequence of ten integers. program calculates The sum of all input values that are in the range 5 to 10. For example, if the user entered: 2 4 73 18 5 6 10 -3, then the sum= 7+8+5+6+10 The average of the input values that are in the range 5 to 10 For example if the user entered: 2 4 7 3 18 5 6 10 -3, then the average = (7+8+5+6+10)/5 = 7.2. o while loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
