Set theory

A group of "40" students appeared in an examination of "3" subjects - Mathematics,Physics and Chemistry.It was found that all students passed in atleast one of the subjects,"20" students passed in Mathematics,"25" students passed in Physics,"16" students passed in Chemistry,atmost "11" students passed in both Mathematics and Physics,atmost "15" students passed in both Physics and Chemistry, atmost "15" students passed in both Mathematics and Chemistry.The maximum number of students passed in all the three subjects is_??
Hey! Can anyone please explain me the logic behind solving the question, coz there are a couple of videos on youtube on this, but I couldn't understand from any them so to speak😞
Was this page helpful?