Write a program to calculate the grade of Students
Conditions:
A+ >= 85%,
A >= 70% to < 85%
B >= 60% to < 70 %
C >= 50% to < 60%
D >= 40% to < 50%
F < 40%
Instruction:
1. Input the marks from Command Line between 0 and 100.
2. The output will be grade of the student.
i.e :
Case1:
Please enter the Marks:
50
Result: Passed, Grade - C
Case2:
Please enter the Marks:
39
Result: Failed, Grade - F
No comments:
Post a Comment