Dev C Vending Machine Program

  1. Dev C Vending Machine Programram
  2. Dev C Vending Machine Programming
  3. Dev C Vending Machine Program Free

C Code For Vending Machine Codes and Scripts Downloads Free. This project aims to provide an extensible, automated tool for auditing C/C code for compliance to a specified coding standard. This is a MATLAB/C code for solving PDEs that are discretized by a finite element method on unstructured grids. IJRES ISSN: 2088-8708 Software Design and Development of Beverag e Vending Machine System Using ARM (Sanket Dessai) 15 note is pulled out of the stack upon receiving signal from host processor, similarly different sized coins are. Virtual Vending Machine - Beverage Selection C Code (Mac Xcode)For this and more codes visit http://cplusplus.codes.

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

  • 6 Contributors
  • forum11 Replies
  • 2,079 Views
  • 3 Days Discussion Span
  • commentLatest PostLatest Postby Fili

Recommended Answers

Gee, 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 Post

Quite nice,Fili

Jump to Post

I dont think so,it will be of some use to someone,hey teachers usally accept a submission even if it a bit late.

Dev C Vending Machine Programram

Jump to PostDev c vending machine program free

All 11 Replies

Gee, 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 I cant guess.Also code is a bit messed up in the sense that it too packed where you calculate the vals so I could not understant it too much either.

But here's something :
Lesson1:Code clearly and use spaces and newlines.They will save your life when it comes to debugging.Noodle code is a death trap.(Your code is not too noodlely except in the if else part).

Dev C Vending Machine Programming

Dev C Vending Machine Program

Lesson 2:Use funtions (I dont know if you know funtions)

Dev C Vending Machine Program Free

Now your prob:One Idea would be to convert the entire amount in to the lowest denomintions availble(nickle?) and calulate using that.In the end convert it back to dollars and show what ever remanins as nickles.Dont bother with quaters unless you have to.
Not much but i could not understand you code nor what was you prob,nor do i have a compiler handy right now. :0