Question: Array Statistics Write a Java program that does the following 1. Ask the user how many values they want to store in an array of
Array Statistics Write a Java program that does the following 1. Ask the user how many values they want to store in an array of doubles. 2. Create an array of doubles to hold the number of values given by the user in requirement #1. 3. Prompt the user for a value and store in the array until all of the values have been read 4. Find the minimum and maximum values stored in the array (do not do this requirement while reading in values from the user's input -5 points will be deducted if this is done). 5. Find the average of all of the values stored in the array. 6. Compute the population standard deviation of the values stored in the array (The first type of standard deviation in - How to compute standard deviation )-1/2 point extra credit if you write a method to compute the standard deviation using variable- length arguments 7. Compute the sample standard deviation of the values stored in the array (The second type of standard deviation in How to compute standard deviation e) extra credit if you write a method to compute the standard deviation using length arguments -1/2 point 8. Output the results to the screen as exactly shown in the screenshots below (this means match the digits of precision, alignment of numbers, etc). In this program, I am looking for very specific items (make sure to read through the above requirements very carefully). The key items I am looking for are
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
