C program to make dollar amount to change?

klletner's Avatar, Join Date: Jul 2009
Newbie Member
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's Avatar
Banned
hehehe, you posted it here ? i know we got an assignemnt for it.
naimish's Avatar
Banned
Wow, People doing their assignment here
klletner's Avatar, Join Date: Jul 2009
Newbie Member
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.
mayjune's Avatar, Join Date: Jun 2009
Invasive contributor
didn't get your question?
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Quote:
Originally Posted by mayjune View Post
didn't get your question?
You are not alone.
naimish's Avatar
Banned
Me 2 with you Shabbir