Question: - Write a program in Java that simulates a statistics tool, by letting the user determine the minimum, the maximum, the range (maximum minimum), the

- Write a program in Java that simulates a statistics tool, by letting the user determine the minimum, the maximum, the range (maximum minimum), the mode (value that is repeated more often), the mean (average), and the standard deviation of a set of numbers. These numbers, that will be stored in an array, represent salaries in the $30K $60K range and are to be generated randomly. This is the definition of standard deviation,

( ) 2 =1 1

where x denotes the average, and n is the total number of elements in the array.

The program will present the user a menu with these choices:

- Populate Array

- Display Array

- Minimum

- Maximum

- Range

- Mode

- Mean

- Standard Deviation

- Exit

and will let the user run them until Exit is entered.

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!