Design and implement an application file that does the following: Uses a 2 dimensional array to represent
Question:
Design and implement an application file that does the following:
Uses a 2 dimensional array to represent the marks that the students got on assignments in this course (see sample data and output below)
Uses 1 dimensional arrays for the following:
Holds the names of the students in the course
Holds the average out of 10 for each student in the course
Holds the average out of 10 for each assignment
Creates 4 methods that perform the following tasks:
Reads data from the file students.txt (already created for you). See note below for code that you can use to connect to the file.
Calculates the assignment average for each student
Calculates the average for each assignment
The class size (number of students) and the number of assignments during the term will be the first line of data to read. (number of students first, then number of assignments). The students? names will come next, one per line. Finally the assignment marks, one student?s data per line, will be input.
Input Data (contained in students.txt):
Joe Smith 8 9 10 4
Tommy Jones 9 9 8 5
Sara Lee 0 10 10 9
Bob Fowler 10 9 9 0
Jane Doe 10 10 10 10
Sample Output: