C++ Activity for learning, need some Help :)
Posted on 2004-04-15
Ok, really really new at programming, so I'm trying to get a head start for a C++ class I'll be taking in the June. I have some exercises that I'm trying to go threw to practice. Once I figure out the program I want to try an enhance it.
The activity is:
Take an undetermined amount of pennies and have the program display how many pennies, nickels, dimes, quarters, 5, 10, 20, 100 dollar bills you will receive. The math is killing me even though I know it should be simple. I did some research and it looks like I should be using modular arithmetic (not familiar with that). Can anyone help me? I want to figure this out, so I can enhance it. I want to have it display how much Euro it would be as well, not sure how to do that yet.