write a program to find the grade of a student based on a given percentage
85-100 grade A+
70-84grade A
55-69gradeB
40-54gradeC
Answers
Answered by
0
Answer:
#python
result = ''
m = int(input("enter marks"))
if m < 54 and m > 40:
result = "C"
elif m < 69 and m> 55:
result= "B"
elif m < 84 and m > 70:
result="A"
elif m < 100 and m > 85:
result = "A+"
else:
print("error wrong numbers")
print(result)
Similar questions
Science,
2 months ago
Social Sciences,
2 months ago
Science,
6 months ago
Biology,
11 months ago
English,
11 months ago