# Problem of the Week Problem A and Solution Breakfast Supplies

## Problem

A carton of eggs costs $$\3.90$$ and a package of bacon costs $$\7.10$$. If I went to the store and bought $$2$$ cartons of eggs and $$1$$ package of bacon, how much change would I have left from $$\20.00$$?

## Solution

We can start by calculating the total spent on bacon and eggs as $$\3.90 + \3.90 + \7.10 = \14.90$$. If we subtract that total from $$\20.00$$, we get $$\20.00 - \14.90 = \5.10$$. So, we would have $$\5.10$$ left over from our $$\20.00$$.

If we wanted to avoid doing calculations with decimal places, we could change all the amounts to cents. In this case, we multiply all of the dollar amounts by $$100$$. So, the total spent would be $$390 + 390 + 710 = 1490$$ cents. The amount left over would be $$2000 - 1490 = 510$$ cents. Then, we can divide the number of cents by $$100$$ to get back to a dollar amount of $$\5.10$$.