Question: 1. Write a void method called calculateClassAvg which takes a double array named marks as a parameter and calculate and returns the average class marks.
1. Write a void method called calculateClassAvg which takes a double array named marks as a parameter and calculate and returns the average class marks. 2. Explain a better way to store 100 student IDs in a program other than using 100 integer variables?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
