Optional Project 3: Change for a Dollar

Optional Project 3:  Using pennies, nickels, dimes, and quarters, how many different combinations would result in 100 cents (or one dollar).

A few examples:

100 pennies

10 times

1 quarter, 1 dime, 2 nickels, 55 pennies


Task: Appropriately initialize the value of 'ways' that represents the number of ways you can make 100 cents using only quarters, dimes, nickels, and pennies.

**If your code works for 5 test cases, you can enter your e-mail address

Universal Computational Math Methods:

pow(5,2) returns 25.0

abs(-3.0) returns 3

sqrt(49.0) returns 7.0