C program to print grades of students

C program to print grades of students

Output:

Enter the number of students:
2
Enter the details of student 0:
47 sathish 90
Enter the details of student 1:
55 coderegister 80

Details of student 1
ID=47
Name=sathish
Percentage=90
Grade=O

Details of student 2
ID=55
Name=coderegister
Percentage=80
Grade=D

Implementation: