How to traverse a 2-D array? How to sum up elements diagonally? How to use enhanced for loop for 2-D arrays?
B. Watch ... (Slides)
C. Now, open the code in 6.5, complete the following
Find and print average, max and min heights for each class using regular for loops
Find and print average, max and min heights for all 4 classes
Create a new class. Assume 5 students each flip a coin 8 times. Design a 2-D boolean array to record the results and print out the ratio of heads and tails for each students. You must use enhanced for loops.