1. Write a program to accept the
marks of a student and print the
grade according to marks obtained.
Use if else if . *
Marks
Grade
0-39
Fail
40 - 59
C
60 - 79
B
80-94
А
>=95
A+
Answers
Answered by
0
—————————————————————
mark = int(input("please enter the marks of the student"))
if mark >= 39:
print("Grade: Fail")
elif mark <= 40 and >= 59:
print("Grade: C")
elif mark <= 60 and >= 79:
print("Grade: B")
elif mark <= 80 and >= 94:
print('"Grade: A")
elif mark >= 95:
print("Grade: A+")
—————————————————————
hope it was helpful! mark me as brainliest if you'd like.. <3
Similar questions