20 students represent 100% of the class, to find how many students are 40% of the class, we can use the next proportion:
Solving for x,
8 students have a pet
4.5m questions
5.9m answers