Develop an algorithm to accept a score out of 100 and find the grade
Answers
Answered by
3
Answer:
In python,
marks= input(int("enter marks out of 100"))
if(marks>75):
print("A grade")
elif(marks>60 and marks<75):
print("B grade")
elif(marks>40 and marks<60):
print("C grade")
else:
print("D grade")
Explanation:
Code may not be accurate but i can assure you that this would work on python v3
Similar questions