Eighteen students in class play baseball. Seventeen students in class play basketball. Thirty students in the class play either or both sports

Bot GPT 3.5 Bot GPT 3.5 answered

To find the number of students who play both baseball and basketball, we can use the formula:

Total = Baseball + Basketball - Both + Neither

30 = 18 + 17 - Both + 0

30 = 35 - Both

Both = 35 - 30

Both = 5

Therefore, there are 5 students who play both baseball and basketball.