Question: Practice Question 1 : I would like to know how to set a Java main() method to take in a positive integer (call is size)
Practice Question 1 : I would like to know how to set a Java main() method to take in a positive integer (call is size) from the command line, set an array of doubles of length, size. Then, completely fill the array with random numbers between 0..1. Once the array is filled, calculate the average of all the numbers in the array. (The average should be around 0.5.) How big does the array need to be (how many values need to be averaged) for the average to be consistently within .1 of 0.5?
Practice Question 2: I would like to know how to rewrite the same solution from Question 2 above, except this time have main() call two methods that you write to do most of the work. ? The first method (call it fill()) will load an array with random numbers between 0..1. ? The second method (call it average()) will return the average of the values in the array
Practice Question 4: I would like to know how to set a method to find the largest value in the array used in Questions 2 and 3 above.
Practice Question 5: Same as Question 4, but this time, I would like to know how to find the smallest value in the array.
Practice Question 6: I would like to know how to set a program that prints out the following table using at least one loop:

\f
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
