Write a C or C++ program to read marks of 4 subjects and find how many students are pass and fail with division.
This program to read marks of 4 subjects and find how many students are pass and fail with division.
To read marks of 4 subjects and find out how many students fall under the following categories:
a) avg<45 - Failb) 45 <= avg <55- Third Division
c) 55<= avg <60 - Second Division
d) 60<= avg <75 - First Division
e) avg >=75 - Distinction
Solution For C Program: