Now that you have the array, how to put the height values in it?
B. Watch ...
C. Now, open your code in 6.1, answer the questions below and implement your solutions
Is it practical to use array initializers to set 300 values? When are array initializers good?
Can you initialize all elements in height to be 75 inches? How?
Of course people have different heights. Can you read all height data from a file?
Assume you can create a random number between 70-80. Can you use 300 numbers between 70-80 to simulate the student height? (Hint: the following generates a double within range [min, max], why? )
double x = (Math.random()*((max-min)+1))+min;
5. After you set the initial height values, assume everyone grows 1 inch, how to update?