Computer Science, asked by kysikchi, 3 days ago

PLEASE ANSWER THE ABOVE QUESTION.​

Attachments:

Answers

Answered by Anonymous
2

Input:

a=int(input("Enter the mark obtained in subject1: "))

b=int(input("Enter the mark obtained in subject2: "))

c=int(input("Enter the mark obtained in subject3: "))

if ((a+b+c)/300)*100>70:

print("Grade: A")

elif 70>((a+b+c)/300)*100>50:

print("Grade: B")

else:

print("Grade: F")

Output:

Enter the mark obtained in subject1: 30

Enter the mark obtained in subject2: 45

Enter the mark obtained in subject3: 89

Grade: B

Similar questions