Question: Write a method named student_marks() that takes a 2D array of double (representing the marks of students in each course) and returns a 1D array

Write a method named student_marks() that takes a 2D array of double (representing the marks of students in each course) and returns a 1D array of double containing the average of marks for each student. Questions 1. Write a method named student_marks( that takes a 2D array of double (representing the marks of students in each course) and returns a 1D array of double containing the average of marks for each student. Al Add your code below 2. Write the main( ) method to read the marks from a file named marks.txt (included). Store the marks in a 2D array of doubles. 3. Print the average of all the student marks using the method student_marks 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
