Dev C Vending Machine Program

Your vending machine will be limited to 5 items only (soda, water, coffee, chocolate, gum). Soda costs $3, water costs $2, coffee costs $5, chocolate costs $4, and gum costs $1. The user should enter a choice (1 for soda, 2 for water, 3 for coffee, 4 for chocolate, 5 for gum, or -1 to exit) ) Based on the item selected, the program will display. Vending machine. C / C Forums on Bytes. Give me the code for vending machine in c. It has 10 items in a.first display all the items and its cost and its quantityonhand.then ask the customer if he wishes to buy.if yes tell him to select the item and after that tell him to enter the coins.

Programram

The holy grail of software development would be a vending machine for code. The machine would work like so: A project manager would approach the machine’s chrome exterior and insert their budget. I am writing a vending machine program and below is what I have so far. I have most of the program written. What I need it to do is at the drink selection screen be able to enter 'master' instead of selection and go into a secret menu. In that menu the user should be asked for a password. The password can be something like 'DRINKS'. I am trying to build a vending machine program with 3 different classes but I am stuck on the second portion of it. Basically the first class is the snack class, which takes 3 parameters (calories, name and price.).

We've to build one mini project on Vending Machine.
Cura 4.0 user manual. Our Guide have given us following topics to be covered in mini project - Blheli suite.

  • Normal Vending machine program working on Deposited balance - Can do it
  • Login and Password for 5 members to store their individual spares separately
  • Permanent storage of history of purchase in a file
  • Use of some graphics and mouse

I'm beginner. I can program everything except Login module, file saving.

Can anyone help me out?

  • 4 Contributors
  • forum8 Replies
  • 513 Views
  • 5 Months Discussion Span
  • commentLatest PostLatest Postby ika_rees

Recommended Answers

Yes we can. Did you read the Member Rules or any of the sticky posts above?

Jump to Post

Welcome. Give this a read:'>http://www.daniweb.com/forums/announcement8-2.html . At least make some attempt at what you have set out to do. I'm confident that you have used files and strings (which is really all the login …

Jump to Post

Dev C Vending Machine Program Free

All 8 Replies

Dev C Vending Machine Programming

WaltP2,905Posting Sage w/ dash of thyme Team Colleague

Dev C Vending Machine Programram

Yes we can. Did you read the Member Rules or any of the sticky posts above?

Similar topics

reply views Thread by joestevens232 | last post: by
9 posts views Thread by vpascuzzi | last post: by
7 posts views Thread by JohnSmith70 | last post: by
2 posts views Thread by nb999 | last post: by
1 post views Thread by Kunthea | last post: by
3 posts views Thread by ismaeel | last post: by
1 post views Thread by abil | last post: by
3 posts views Thread by exospire | last post: by
reply views Thread by PrototypeChain | last post: by
reply views Thread by dreamtext | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Xillez | last post: by
reply views Thread by Gingerbreadman | last post: by
1 post views Thread by Gingerbreadman | last post: by
reply views Thread by razodiac | last post: by