Answer:
45 total students
Explanation:
18 of the students bought popcorn...the other 60% bought candy
that means that the 18 students that bough popcorn make up 40% of the class
so 40% of the total class = 18
0.40x = 18
x = 18 / 0.40
x = 45 <=== there were a total of 45 students