Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions