When changing a dollar bill, you can give 1 coin (1 silver dollar), So if there is a combination with n coins including at least 1 dime, Here's a "bonus question" for you: how many ways can you make change for a dollar.
How Many Ways to Make Change 4 Dollar Part 1 It is possible that there are a few mistakes in this.
I've seen 293, but according to my program there are only 292 ways. problem, until you realize you can use nested iterated for loops for every possible combination. Also, is this going to turn into a code golf session? ;D.