Answer:
3 students
Step-by-step explanation:
If everyone in the class has either a pierced nose or ear, we just simply have to add up the total number of hands raised and minus the number of students in the class.
35+8=43
43-40=3
3 students have both a pierced nose and pierced ear.