write a program to input the marks in english and find the grade obtained
Answers
Answered by
3
Answer:
Explanation:
Check the grade of the students based on marks. First of all we will take input a mark of subject from the candidate and according to following condition we will calculate the grade.
If marks <50 then Grade is F
if marks >=50 <60 then Grade is D
if marks >=60 <70 then Grade is C
if marks >=70 <80 then Grade is B
if marks >=80 <90 then Grade is A
if marks >=90 then Grade is A+
Program to Calculate Grade According to marks
In following program we have taken one variables i.e mark. We will take input from the user and using if else condition we will calculate grade. in the following program in first condition we will print wrong entry if the marks is either less than 0 or greater than 100.
Similar questions