I've written my solution in pseudocode. There was no requirement to do so.
let change = the amount of change to be returned while change >= 25 begin return 1 quarter let change = change - 25 end end_while while change >= 10 begin return 1 dime let change = change - 10 end end_while while change >= 5 begin return 1 nickel let change = change - 5 end end_while return change pennies
Compare this solution to the program that we worked on in class on Feb. 23. Do you notice how similar they are?