REM: SOLUTION 2
REM: SOLUTION 1
REM: amountOwed is the original amount of change owed
REM: amountLeft is the running total of amount owed as change is returned (originally same as amoutOwed)
REM: numQuarters,  numDimes, numPennies are the number of quarters, dimes and pennies returned

numQuarters := amountLeft INTEGER DIVISION 25
amountLeft := amountLeft MODOLO 25

REM: the # of dimes is based on the value after the quarters have
REM: have been given out
numDimes := amountLeft INTEGER DIVISION 10
amountLeft := amountLeft MODOLO 10

REM: quarters and dimes have already been given out
numPennies = amountLeft