Question 380289
Your answer is the number of students who owned cats.  You forgot about the students who don't own any pets.  There are 8 + 15 + 5 = 28 students with pets, so there are 30 - 28 = 2 without pets.  Thus, the number without dogs is 8 + 2 = 10.