Change Maker (problems with %)

OK, so for school, I have to make a program that illustrates the change a person should get based on a few monetary inputs. I'm crafting one that does so in the following steps:

1. User inputs monetary value (e.g. 17.34 for $17.34) describing the original bill.

2. User inputs monetary value describing how much cash they paid.

3a. If the amount paid is less than the bill, it tells you that you still owe the difference (which is produced).

3b. If the amount paid is more than the bill, it illustrates the most efficient change you should get, in dollars, quarters, dimes, nickels, and pennies.

3b is where I'm stuck. I know that inputting, for example, (25 % 3) would return the remainder of 25 / 3, which is 1. However, I want to divide, say, 25 by 3, return the 8, and keep the one to work with in the next step.

This is confusing me. D: