The given problem is a conditional probability problem.
Probability that a student has a cat given that he/she has a dog is represented as:
Thus,
Therefore,
8.8m questions
11.4m answers