Question: please help to solve and focus in comment 2. Write a program to keep track of the marks for 5 subjects taken by 20 students.

please help to solve and focus in comment

please help to solve and focus in comment 2. Write a program

2. Write a program to keep track of the marks for 5 subjects taken by 20 students. The program will also calculate the total marks for all the subjects of each student. The program should use a two dimensional array named studMarks that holds the marks for each subject taken by the students and a one dimensional array named totMarks that holds the total marks for all the subjects of each student. The program contains the following functions: a) readData: This function receives the studMarks array. It reads marks for each subject of the students and stored them in the studMarks array. b) calTotMarks: This function receives a row of the studMarks array and the totMarks array. It calculates the total marks for all the subjects of a student and store the total marks in the totMarks array. C) display: This function displays the marks for each subject of the students and the total marks for all the subjects of each student

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!