[solved] – Question 7057
Each student in a class of 30 students takes 2 tests in which scores range between 0 and 100. Suppose the test scores are stored in a 30 X 2 array TEST. Write a program that should output the average score for both tests. Your program must consist of the following functions:
(a) getData()that reads and stores data in the two dimensional array.
(b) averageTest1() that calculates and returns the average score for Test1.
(c) averageTest2() that calculates and returns the average score for Test2.
(d) display() that output the average score Test1 and Test2.
(These functions must all have the appropriate parameters.)
Expert Answer
OR

