Q. WAP to accept marks of any subject and find their grade from the given condition:
Marks Grade
>=90 A
>=80 and < 90 B
>=60 and < 80 C
>=40 and < 60 D
< 40 F
Enter the marks obtained in a subject:
Grade: