Write a program to input marks of any three subjects. Calculate the total and print the grades as per criteria given below: >= | A; 399-300 | B; <300 | C
Answers
Answered by
2
Answer:
this is python.
a=int(input('enter grade a'))
b=int(input('enter grade b'))
c=int(input('enter grade c'))
d=a+b+c
if d >=300:
print ('A')
if d<300:
print ('B')
if d <=100
print('C')
Similar questions