This program code determines the grade of a student based on the following grade sheet. We have used an if else if statement to carry out the process.
Percentage |
Grade |
>90 |
First Class with distinction |
80-90 |
First Class |
70-80 |
Second Class |
60-70 |
Third Class |
50-60 |
Passed |
<50 |
Failed |
Comments
Post a Comment