Question: Use the scores data below to write a multidimensional array JAVA program that displays the average score for each test as follows: Average for test

Use the scores data below to write a multidimensional array JAVA program that displays the average score for each test as follows:

Average for test 1 is 31.0

Average for test 2 is 39.76666666666667

Average for test 3 is 47.333333333333336

Average for test 4 is 33.833333333333336

Average for test 5 is 19.66666666666666

Hint: See Section 8.8 Each test has two scores. There are 5 tests and 6 students. You can copy and paste these scores to your array. You will use two for loops for this project.

{{7.5, 20.5}, {9.0, 22.5}, {15, 33.5}, {13, 21.5}, {15, 2.5}},

{{4.5, 21.5}, {9.0, 22.5}, {15, 34.5}, {12, 20.5}, {14, 9.5}},

{{6.5, 30.5}, {9.4, 10.5}, {11, 33.5}, {11, 23.5}, {10, 2.5}},

{{6.5, 23.5}, {9.4, 32.5}, {13, 34.5}, {11, 20.5}, {16, 7.5}},

{{8.5, 26.5}, {9.4, 52.5}, {13, 36.5}, {13, 24.5}, {16, 2.5}},

{{9.5, 20.5}, {9.4, 42.5}, {13, 31.5}, {12, 20.5}, {16, 6.5}}};

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem we need to create a Java program that uses a multidimensional array to calculate and display the average score for each test bas... View full answer

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!