Given a student has scored
M marks in Maths, P marks in Physics and C marks in Chemistry. Write a program to check if a student is eligible for admission in a professional course based on the following criteria:Sum of marks in any two subjects >= 100 and M + P + C >= 180.
M = int(input())
P = int(input())
C = int(input())
MP = M + P
MC = M + C
PC = P + C
if(((MP>=100) or (MC>=100) or (PC>=100)) and (M+P+C>=180)):
print('True')
else:
print('False')
Comments
Leave a comment