PDA

View Full Version : Program Needed To Calculate Number Of Bills/Coins


SCSS
07-15-2005, 06:32 PM
Hey guys, Ive played around with C/C++ but only enough to make a Hello World proggy, so I was wondering if someone could whip this up for me (just needs to be a simple dos app, nothing fancy if you dont want to). When I do payroll for our business, we have to send a request to the bank to get x number of 100's, 50's, 20's etc. I need a program that, when I enter a persons name (must be able to hold at least 29 peoples names) and the total amount that they get paid for the week, it (holds the info for now) gives me how many 100's, 50's, 20's, 10's, 5's, 2's, 1's, quarters, dimes, nickels, and pennies I have to give them. After entering everyone's name, it spits all this info out in some sort of spreadsheet that I can print off. So for example the spreadsheet would be:
http://img.photobucket.com/albums/v435/jordan011sk/sheet.jpg
(I couldnt put my ASCII skills to work in the textbox so I used notepad :P Oh and Tota should be Total :))
Can anyone do this for me? Thanks in advance :)

nikkiH
07-15-2005, 07:31 PM
Hmmm...

http://www.codingforums.com/showthread.php?t=53446

SCSS
07-15-2005, 07:59 PM
Hmm well first of all I'm fifteen and since its July, Im not even in school right now. Second, my family owns a farm and employs about 28 Jamaicans. Its a bit difficult counting all this out by hand, then finding out you made a mistake, and it ends up costing you. Im just asking for help here. If you dont want to believe me, then dont. I would also appreciate (if someone does make it) to post the source aswell so I can try to understand whats going on in the program.

oracleguy
07-16-2005, 11:14 PM
While the methodigy behind the program is probably simpler than you are thinking, I don't think you will really find someone that will do it for free. You should at least try doing it yourself first and if you get stuck we are around to help you; you wouldn't even need to use any advanced C++ concepts to do it.

SCSS
07-17-2005, 06:19 PM
Well if its simple, then I may as well give it a shot... What would be easier, Visual Basic, or M$ Visual C++ (which I have a copy of)?

Brandoe85
07-17-2005, 06:53 PM
I'd say whichever you're more comfortable with, it's really just basic math, i'm sure you'll be able to get it, but like mentiond... if you get stuck, post back and someone will be able to help.