A customer pays $100.00 for a $81.25 bill.
Find the least amount of bills and coins to give change
Change = Cash - Bill
Change = $100.00 - $81.25
Change = $18.75
Our current target value is $18.75
The highest coin/dollar value <= $18.75 is 1 ten-dollar bill
1 ten-dollar bill = $10.00
Subtract $10.00 from our current total of $18.75 to get $8.75
Our current target value is $8.75
The highest coin/dollar value <= $8.75 is 1 five-dollar bill
1 five-dollar bill = $5.00
Subtract $5.00 from our current total of $8.75 to get $3.75
Our current target value is $3.75
The highest coin/dollar value <= $3.75 is 3 dollars
3 dollars = $3.00
Subtract $3.00 from our current total of $3.75 to get $0.75
Our current target value is $0.75
The highest coin/dollar value <= $0.75 is 3 quarters
3 quarters = $0.75
Subtract $0.75 from our current total of $0.75 to get $0.00
ten-dollar bills | five-dollar bills | dollars | quarters | Total | |
---|---|---|---|---|---|
Quantity | 1 | 1 | 3 | 3 | 8 |
Value | $10.00 | $5.00 | $3.00 | $0.75 | $18.75 |