Question: Problem: write a program that allows the user to enter the marks of 5 students in 4 courses, Output the highest average marks for students

Problem: write a program that allows the user to enter the marks of 5 students in 4 courses, Output the highest average marks for students and courses. For example:

Student 1 (courses 1-4): 50 60 70 60

Student 2 (courses 1-4): 100 90 87 90

Student 3 (courses 1-4): 70 100 90 90

Student 4 (courses 1-4): 30 65 50 50

Student 5 (courses 1-4): 58 50 74 43

The highest average mark of students: 91.75

The highest average mark of courses: 74.2

PS: Please explain each coding properly

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!