Computer Science, asked by renu00908, 5 months ago

accept 5 subjects number and find the average. if the avergar is greater than 45 print very good other wise print average​

Answers

Answered by sambhavgautam6
0

sub1 = int(input("Enter the marks::"))

sub2 = int(input("Enter the marks::"))

sub3 = int(input("Enter the marks::"))

sub4 = int(input("Enter the marks::"))

sub5 = int(input("Enter the marks::"))

average =sub1+sub2+sub3+sub4+sub5/5

if average>45 :

print("very good")

else:

print("average")

Attachments:
Similar questions