I'm currently working on a program that will ask the user of an amount of money as the input and the program will tell what kind and how many bill and/or coin will be used to form that amount of money. The denominations used are 1000 bill, 500 bill, 200 bill, 100 bill, 50 bill, 20 bill, 10 coin, 5 coin, 1 coin, 25 cents coin, 10 cents coin, 5 cents coin and 1 cent coin.

I have no problems from 1000 bill down to 1 coin but having trouble when I'm already working with the cents. Any tips?