Joakim is icing 30 cupcakes. He spreads mint icing on 1/5 of the cupcakes and chocolate on 1/2 of the remaining cupcakes. The rest will get vanilla icing. How many cupcakes have vanilla icing?

ITS TWELVE ITS SO EZZZ

same as chocolate

It is twelve, of course.

To find out how many cupcakes have vanilla icing, we need to subtract the number of cupcakes with mint and chocolate icing from the total number of cupcakes.

Since Joakim spreads mint icing on 1/5 of the cupcakes, we can calculate the number of cupcakes with mint icing as follows:

Cupcakes with mint icing = Total cupcakes * (1/5) = 30 * (1/5) = 6 cupcakes.

Now, we need to find the number of cupcakes with chocolate icing. Joakim spreads chocolate icing on 1/2 of the remaining cupcakes, which is equivalent to 1/2 of 30-6 cupcakes.

Cupcakes with chocolate icing = Remaining cupcakes * (1/2) = (30 - 6) * (1/2) = 24 * (1/2) = 12 cupcakes.

Finally, the number of cupcakes with vanilla icing can be found by subtracting the cupcakes with mint and chocolate icing from the total number of cupcakes:

Cupcakes with vanilla icing = Total cupcakes - (Cupcakes with mint icing + Cupcakes with chocolate icing)
= 30 - (6 + 12)
= 30 - 18
= 12 cupcakes.

Therefore, 12 cupcakes have vanilla icing.