Question: NEED ASAP Please MAKE SURE TO SUBMIT YOUR CODE TO BOTH WEBCAT AND PASTE YOUR SOLUTION HERE IN CANVAS FOR FULL CREDIT! Average Write a
NEED ASAP Please

MAKE SURE TO SUBMIT YOUR CODE TO BOTH WEBCAT AND PASTE YOUR SOLUTION HERE IN CANVAS FOR FULL CREDIT! Average Write a program called Average that allows a user to enter multiple values and it will calculate the average of the values entered. The sentinel value is 1; any other value should be calculated as part of the average. It is possible that the user enters only the sentinel value, in which case the average should be 0.0. Averages must be correct to the 2nd digit after the decimal Sample Run (user input underlined) Enter a value: 20 Enter a value 1 Enter a value 3 Enter a value 15 Enter a value: 1 18.75 Sample Run (user input underlined) Enter a value 2 Enter a value: 20 Enter a value 2 Enter a value:1 20.0 Sample Run (user input underlined) Enter a value: 1 0.0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
