Answer:
18 like both.
Step-by-step explanation:
If there are 50 students and 3 like neither math or physics, then 47 of them either like one or both of the subjects. Adding up the 30 and 35, we get that 65 of the students like the two subjects collectively. Well that’s not right. We have overcounted the 65–47=18 students who like both subjects. Thus, 35–18=17 students only like physics.
Check: We have 3 students who like neither, 18 who like both, 17 who like just physics, and 30–18=12 who just like math. Adding them up, we have 18+17+12+3=50 students all togtether