I am new at this and need to write a solution for a money changer. I need to start with $1.00 and have a sale of that totals a dollar or less. I need to compute the change that I need to give back. I need to list the number of half dollars, quarters, dimes, nickels, pennies, etc.
If anyone has a solution example that might get me in the right direction, that would be so very much appreciated.
Thanks so much.
HelpAHoosier