Final answer:
To find the number of students, divide the total number of pizza pieces by 3. The class has 24 students.
Step-by-step explanation:
To find out how many students there are, we need to calculate the total number of pizza pieces.
There are 4 cheese pizzas x 6 pieces = 24 cheese pizza pieces.
There are also 4 sausage pizzas x 6 pieces and 4 veggie pizzas x 6 pieces, which gives us 24 sausage pizza pieces and 24 veggie pizza pieces, respectively.
The total number of pizza pieces is 24 + 24 + 24 = 72. Since each student gets 3 pieces, we divide the total number of pizza pieces by 3: 72 ÷ 3 = 24 students in the class.
Learn more about Calculating number of students in a pizza party