John sells plain cakes for $8 and decorated cakes for $12. On a particular day, John started with a total of 100 cakes, and sold all but 4. His sales that day totaled $800. He sold plain cakes and decorated cakes that day.

Respuesta :

Answer:

He sold 88 plain cakes and 8 decorated cakes.

Step-by-step explanation:

No  question, but I assume the question is "How many plain and how many decorated cakes did John sell during the day?"

Based on the question, we can create 2 equations.

Let x be the number of plain cakes sold, and y be the number of decorated cakes.

1. He had 100 cakes to start with, and sold 96, because he's left with 4.

So, we have x + y = 96

2. Based on the prices he sells his cakes, and because he sold some plain cakes and some decorated cakes, for a total of $800, we can make this equation:

8x + 12y = 800

Now, if from the first equation we isolate x, we get x = 96 - y

Let's put that value in the second equation:

8 (96 - y) + 12y = 800

768 - 8y + 12y = 800

4y = 32

y = 8

So, John sold 8 decorated cakes.

Placing that in the first equation, we get:

x + 8 = 96

x = 88 ---- he sold 88 plain cakes.

Let's verify the second equation:

8 * 88 + 12 * 8 = 800

704 + 96 = 800

800 = 800.

Confirmed.

Answer:

He sold 88 plain cakes and he decorated 8 cakes.

Step-by-step explanation: