a survey showed that 50 students were surveyed. 42 liked football, 15 liked tennis, 12 liked both football and tennis. How many students did not like either football or tennis?42 take away 12 = 30

15 take away 12 = 3
therefore 33 students like either one or both sports.
Therefore 17 students do not like any of the sports.

N(T or F) = N(F) + N(T) - N(T and T)

= 42+15-12
= 45

Number who liked neither football or tennis
=50-45
= 15

To find the number of students who did not like either football or tennis, we need to subtract the number of students who liked either one or both sports from the total number of students surveyed.

Given:
- Total number of students surveyed: 50
- Number of students who liked football: 42
- Number of students who liked tennis: 15
- Number of students who liked both football and tennis: 12

To calculate the number of students who liked either one or both sports, we can add the number of students who liked football and the number of students who liked tennis, and then subtract the number of students who liked both sports:

42 + 15 - 12 = 45

So, 45 students liked either one or both sports.

Finally, to find the number of students who did not like either football or tennis, we subtract the number of students who liked either one or both sports from the total number of students surveyed:

50 - 45 = 5

Therefore, 5 students did not like either football or tennis.