Final answer:
To find out how many people like dogs but not cats, subtract the number of people who like both from those who like dogs: 118 people like dogs but not cats.
Step-by-step explanation:
To determine how many people like dogs but not cats, we must subtract the number of people who like both cats and dogs from the total number of people who like dogs. From the survey, we have:
- 180 people like dogs (a).
- 158 people like cats (b).
- 62 people like both cats and dogs (c).
- 84 people don't like either (d).
We can calculate the number of people who like only dogs as follows:
Number of people who like only dogs = Total number of people who like dogs - Number of people who like both cats and dogs
Number of people who like only dogs = 180 - 62
Number of people who like only dogs = 118.
Therefore, 118 people like dogs but not cats.