We have given an individual assignment about a simple atm program which withdraw and check balance, sounds simple? here's the twist, the atm database have money inside with denominations 1,000bill, 500bill and 100bill ,20 pieces each , so once the user withdraw cash, it should output how many 1000,500,100 bill the user receives and should be deducted in the money inside the program in each denomination.
Because this is an individual assignment , I'm hesitating to post my code here just to avoid being copied.you don't have to post a code ,just your ideas and hint will be gladly appreciated.