Question: Write a program that asks the user to enter numbers, one at a time, and then finds their average. It is not determined in advance

Write a program that asks the user to enter numbers, one at a time, and then finds their average. It is not determined in advance how many numbers the user enters: the user should enter a sentinel value, such as the number like -999, to indicate the end of the list embedding comments in your program describing what is happening in java

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!