Draw a flowchart to find average of their number, lf average is less than 20 print " less" otherwise print more
Answers
Answered by
1
Answer:
sub1=int(input("Enter marks for the respective topic: "))
sub2=int(input("Enter marks for the respective topic: "))
sub3=int(input("Enter marks for the respective topic: "))
avg=(sub1+sub2+sub3)/3
if (avg>=20):
print("More")
elif (20>avg):
print("Less")
Similar questions
Social Sciences,
4 days ago
Math,
4 days ago
English,
4 days ago
Social Sciences,
8 days ago
Social Sciences,
8 days ago
Social Sciences,
9 months ago
Math,
9 months ago
French,
9 months ago