Final answer:
To find the number of students who liked math, gym, and lunch, but not recess, subtract the number of students who liked all four subjects from the total number of students who liked each subject.
Step-by-step explanation:
To find the number of students who liked math, gym, and lunch, but not recess, we need to consider the total number of students who liked each subject and subtract the number of students who liked all four subjects.
Given that the survey was conducted on 250 middle school students:
Let's say the number of students who liked math, gym, and lunch is x.
So, the number of students who liked recess is 250 - x.
Now, let's say the number of students who liked all four subjects is y.
We are given that x + y = 250.
And the number of students who liked math, gym, and lunch, but not recess is x - y.
Therefore, the answer is x - y = 250 - x - y = 250 - 250 = 0.