In a retail store, they only accept cash payment. The store has two tills.
Each morning, before opening, each till receives a bundle of cash in coins and £5 notes
worth in total £85.
The bundle comprises as follows.
6 x £5; 10 x £2; 20 x £1; 15 x 50p; 20 x 20p; 20 x 10p; 20 x 5p; 20 x 2p; 10 x 1p.
As customers pay for their purchases, the till should calculate the change given and
recalculate the number of each coins or notes it stores.
If one of the tills runs out of the right combination of notes to provide change to the
customers, the operator can request to the other cashpoint’s operator exchange an amount
of no more than £20, assuming that there is enough to complete the exchange without
leaving the other cashpoint short of any change. If an exchange is not possible and there is
no enough cash to make the right combination of change to serve the customer, the
cashpoint must close. The payment is then deferred to the other cashpoint.
You are required to complete the following tasks