Name: Anonymous 2010-01-10 4:35
How many ways can one make a single US dollar from exactly 10 coins? Write a program that calculates the answer to this. For bonus points, write one that can calculate the answer for any amount of money and any amount of coins.
50 cent pieces, quarters, dimes, nickels, and pennies are allowed.
The answer to the problem is 6. ENTERPRISE C SOLUTION in the next post.
50 cent pieces, quarters, dimes, nickels, and pennies are allowed.
The answer to the problem is 6. ENTERPRISE C SOLUTION in the next post.