In a survery, students were asked whether they play basketball or tennis. Of 34 students, 24 play basketball and 13 students play tennis.4 students play neither. How many students play both sports?

Is it 7 students?

Correct!

Of 34 students, 4 play neither, so there are 30 students who play at least one sport.
24 and 13 make 37, so 37-30=7 students play both.

To find out how many students play both sports, we need to use the principle of inclusion-exclusion.

First, let's start by adding the number of students who play basketball and tennis separately: 24 + 13 = 37.

Since we know that there are only 34 students in total, this indicates that there is an overlap in the count. We have counted some students twice, once for basketball and once for tennis.

Now, let's subtract the number of students who play both sports from the total count: 37 - 34 = 3.

However, we are given that 4 students play neither sport. This means that our count is off by 1. To correct this, we need to add 1 to our previous result: 3 + 1 = 4.

Therefore, 4 students play both basketball and tennis. Hence, the answer is not 7, but 4 students.