Question: I'm having problems solving this jva coding question: This is the prompt: Write a program that accepts a series of numbers from the user and
I'm having problems solving this jva coding question:
This is the prompt:
Write a program that accepts a series of numbers from the user and provides some statistics on that data. The user should be allowed to enter as many numbers as they like. When they are done entering numbers, print the average of all the numbers, the largest of the numbers and the smallest of the numbers.
This is an example I was given:
Example Program output: (italics indicate user provided data, bold indicates program outputs)
Enter a number (Enter -9999 to stop entering numbers) : 3.5
Enter a number (Enter -9999 to stop entering numbers) : 77.6
Enter a number (Enter -9999 to stop entering numbers) : -4
Enter a number (Enter -9999 to stop entering numbers) : -9999
The average is 25.7
The largest number is 77.6
The smallest number is -4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
