Computer Science, asked by kripa1048, 9 months ago

The marks obtained by students in three different subjects are input by the user. Write a python program which should calculate the average of the subjects and display the grade. The student gets a grade as per the following rules :
average grade
90-100A
80-89 B
70-79 C
60-69 D
0-59. F​

Answers

Answered by brianlyofficial
1

Answer:

he marks obtained by students in three different subjects are input by the user. Write a python program which should calculate the average of the subjects and display the grade. The student gets a grade as per the following rules :

average grade

90-100A

80-89 B

70-79 C

60-69 D

0-59. F​

Explanation:

Answered by Vinthi
8

Answer:

e=int(input("enter ur english mark")

m=int(input("enter ur maths mark")

s=int(input("enter ur sci mark")

tot=e+m+s

avg=tot/3

if avg>=90 and avg<=100:

print(" A grade")

elif avg>=80 and avg<=89:

print("B grade")

elif avg>=70 and avg<=79:

print("C grade")

elif avg>=60 and avg<=69:

print("D grade")

else:

print(" F grade")

PLEASE MARK IT AS THE BRAINLIESTT

Similar questions