Write a program that asks the user to print the following An integer representing the number of cents
You may assume that the number of cents entered is greater than or equal to zero
The program should then display how to provide that change to the user.
In the US
- 1 dollar is 100 cents
- 1 quater is 25 cents
- 1 dime is 10 cents
- 1 nickel is 5 cents and
- 1 penny is 1 cent
Sample Run:
Enter an amount in cents : 92
You can provide this change as follows: dollars : 0
quaters : 3
dimes : 1
nickels : 1
pennies : 2