A seller needs you to generate a program such that whenever a customer purchases some items and pays for the bill. The seller accepts at max $10 denominations. Your program takes input of payment amount and purchase amount. So u need to give an output of the return change to the customer. The return change should be in
$10, $5, $1, $0.25, $0.10, $0.05, $0.01
It should give the best possible combination.
pls help coding this..