Write a program to find the grade of a student when grades are allocated as given in the table below. Percentage of the marks obtained by the student is input to the program.
Percentage of Marks |
Grade |
Above 90% |
A |
80% to 90% |
B |
70% to 80% |
C |
60% to 70% |
D |
Below 60% |
E |