[Help] Change to give back program

Hi, i'm trying to complete a few excercies from my "Learn Java by Dietel" textbook, and they didn't post the answers to some of them so i was wondering if you guys could help me out. The program asks the user for the number to input and then it gives the amount of change back. Here is a example of what should be outputted:

Enter the price of the purchase in cents ($1 or less): 33

The change from $1.00 is: $0.67

Number of quarters is: 2

Number of dimes is: 1

Number of nickels is: 1

Number of pennies is: 2

So the user enters the number 33 and the program delivers the rest of the information. Anyone have any idea how to write the program to do this? :confused:

Thanks