1.
Write a program to determine the rank of the student based on her 5 subject's marks, each subject has maximum marks as 100. If a student gets above 90% marks he'll be ranked with honors.
Between 70-90: first division
Between 50-70: second division
Between 40-50: third division
Below 40: failed
Answers
Answered by
1
Answer:
First of all we will take input a mark of subject from the candidate and according to following condition we will calculate the grade.
If marks <50 then Grade is F
if marks >=50 <60 then Grade is D
if marks >=60 <70 then Grade is C
if marks >=70 <80 then Grade is B
if marks >=80 <90 then Grade is A
if marks >=90 then Grade is A+
Similar questions