1. ## Blocked...Blocked

I need some help on an assignment I have been staring at blankly for 2 hours. I do'nt want the code just some pseudo to kick start as I feel relly dumb.
The program requires a wage to be entered by user and then a function call to tell the user exatly what notes and coins to place in the wage. The principle is the same as breaking a number into 100's, 50's etc but I cannot think how to start.
Any help would be warmly welcomed.
ta

2. You can use integer division to divide the amout by the largest denomination to get that amount. Then divide the remainder by the second largest and so on..........

3. Zen

Where would the remainder be held? if I used:

total_of_20 = (float)pounds/20;

I thought this would just give me a decimal answer instead of a whole number. Would I not use modulus for a remainder. I cannot think thru this and I have chewed thru 4 pens up to now.

4. You want something like:

total_of_20 = pounds/20;
pounds = pounds%20;
total_of_10 = pounds/10;
pounds = pounds%10;

5. cheers zen
I was doing something similar to that but abandoned it all in a huff. I shall reread and try that way.
thanks