Question: IN JAVA Write the method display TestAverage() that accepts the array of test marks and an indefinite number of test numbers (as shown in the
IN JAVA
Write the method display TestAverage() 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 display TestAverage(marks, 2, 3); produces the output The average of test 2 is 79.0 The average of test 3 is 68.33333333333333 Write the method display TestAverage() 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 display TestAverage(marks, 2, 3); produces the output The average of test 2 is 79.0 The average of test 3 is 68.33333333333333
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
