Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   C program to make dollar amount to change? (http://www.go4expert.com/forums/c-program-dollar-change-t18408/)

klletner 8Jul2009 06:25

C program to make dollar amount to change?
 
I have a homework assignment to turn a dollar amount into the amount of quarters, dimes, nickels and pennies. I am having trouble getting it to read all the way to pennies.

hotnspicy 8Jul2009 08:48

Re: C program to make dollar amount to change?
 
hehehe, you posted it here ? i know we got an assignemnt for it.

naimish 8Jul2009 10:46

Re: C program to make dollar amount to change?
 
Wow, People doing their assignment here :lol:

klletner 8Jul2009 23:41

Re: C program to make dollar amount to change?
 
I finally got it to work. I couldn't figure out how get the remainder to be divided by the next coin amount and then have a remainder left for the pennies. I am new to this stuff and I'm trying to take it online which is basically just teaching yourself, but any pointers anyone has is gladly appreciated.:worried:

mayjune 9Jul2009 01:50

Re: C program to make dollar amount to change?
 
didn't get your question?

shabbir 9Jul2009 08:52

Re: C program to make dollar amount to change?
 
Quote:

Originally Posted by mayjune (Post 51889)
didn't get your question?

You are not alone.

naimish 9Jul2009 08:54

Re: C program to make dollar amount to change?
 
Me 2 with you Shabbir ;)


All times are GMT +5.5. The time now is 00:00.