I saw the following riddle:
You've been giving $\$$100 dollars to buy 100 items. Item A costs $\$$0.56, Item B costs $\$$2.26, and item C costs $\$$0.92. How can you spend all of the money on the 100 items?
Now I know to do the following:
.56A + 2.26B + .92C = 100
A + B + C = 100
Now doing the following:
.56A + 2.26B + .92C = 100
- .56A - .56B - .56C = -56
-----------------------------
1.70B + .36C = 44 // Thanks Arturo Magidin
Now that leaves us with 2 unknowns but I need another equation to solve this. I also know that A B and C are all integers. How do I factor that in?