Yes i know everyone hates homework help but this was a last place i could go I am writing a program that stimulates a vending machine and i have written almost all of the code its just not working correctly I am stressing out because it is due by tomorrow and was wondering if anyone would be able to help me out in any way possible i have attached the *.cpp file and would be willing to do anything if someone would look over it Im not asking for you to completly due it just help me becase i am stuck and do not know were to turn.
In the program it is to give change back which i am having trouble doing so because it breaks it down into half dollars dollars dimes quarters and nickles its really the only problem i have i have written code that i believed to work but it has not if anyone is out there please help
This is what the outcome should look like http://www.cs.ua.edu/114/Summer2004/Programs/prog2.htm
phish1429
0
Newbie Poster
Recommended Answers
Jump to PostGee, you sure were in a hurry but the lack of full stops really mangles what you say.
This is not really a place to ask for homework answers.But I did look at your code and you use a lot of variables like a,b,c etc for what resonable puprose …
Jump to PostQuite nice,Fili
Jump to PostI dont think so,it will be of some use to someone,hey teachers usally accept a submission even if it a bit late.
All 11 Replies
FireNet
64
Posting Whiz in Training
Fili
0
Light Poster
Fili
0
Light Poster
FireNet
64
Posting Whiz in Training
Fili
0
Light Poster
FireNet
64
Posting Whiz in Training
MaxC
0
Newbie Poster
MtBobcat
0
Newbie Poster
Fili
0
Light Poster
Dave Sinkula
2,398
long time no c
Team Colleague
Fili
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.