Question: Consider two parallel arrays, one that stores student names and another (2D) that stores their test marks. Consider the driver program below Write the method
Consider two parallel arrays, one that stores student names and another (2D) that stores their test marks.
Consider the driver program below
Write the method displayTestAverage() that accepts the array of test marks and an indefinite number of test numbers (as shown in the example above). The method displays the average for every test number passed as input. For example, the call
displayTestAverage(marks, 2, 3);
produces the output
Answer should be in java
Step by Step Solution
There are 3 Steps involved in it
Here is a detailed answer in Java for the question java public class StudentTestMarks public static void mainString args Example Array of student names not used in this question String studentNames Al... View full answer
Get step-by-step solutions from verified subject matter experts
