Answer:
Explanation:
Given
- A costs 5$
- B costs $0.25
- C costs $0.05
- A + B + C = 100
- 5A + 0.25B + 0.05C = 100 ⇒ 100A + 5B + C = 2000
Subtract the first equation from the second:
We have a restriction in numbers:
Since 4B can be max 400, we get 99A > 1500 and 99A < 1900 so:
and
A can be 16 or 18 as it should be even number to get B the whole number.
If A = 16:
- 99*16 + 4B = 1900
- 4B = 1900 - 1584
- 4B = 316
- B = 316/4 = 79
If A = 18:
- 99*18 + 4B = 1900
- 4B = 1900 - 1782
- 4B = 118
- B = 118/4 = 29.5, discarded as decimal
So we get:
- A = 16, B = 79 and C = 100 - (16 + 79) = 5
Let's proof the numbers:
- 16*5 + 79*0.25 + 5*0.05 = 100, confirmed