How many combinations of pennies (1 cent), nickels (5 cents) and/or dimes (10 cents) are there with a total value of 30 cents?
Hello There, there are 12 combinations.
p n d
1 = 30 0 0 2 = 25 1 0 3 = 20 2 0 4 = 15 3 0 5 = 10 4 0 6 = 5 5 0 7 = 0 6 0 8 = 20 0 1 9 = 15 1 1 10 = 10 2 1 11 = 5 3 1 12 = 0 4 1 13 = 10 0 2 14 = 5 1 2 15 = 0 2 2 16 = 0 0 3