Help urgent In a class of 35 students 15 of them have cats 16 have dogs 3 hangs none how many probability does have both

Answer:
9/25
Step-by-step explanation:
Number of student who has cat , dog = 25 - 3 = 22
Number of students who has cat and dogs = (15 + 16) - 22
= 31 - 22 = 9
Number of students who has only cats = 15 - 9 = 6
Number of students who has only dogs = 16 - 9 = 7
P(Cat & dog) = 9/25