Write some Software for Vending Machine!

  • Status: Closed
  • Prize: $11
  • Entries Received: 4
  • Winner: riharsha

Contest Brief

You are asked to design and implement a Java program using GUI interface to simulate a vending machine. The program will work with item names, their image, their prices, and the current number available in the machine. The machine should display 9 different items. When the application starts, the vending machine will have 10 of each type of goods or items. Each time the user selects an item, the application should subtract 1 from the quantity of the selected drink. It should also update and display the total amount of sales.
In this project, your program must read in and store the machine data in an array of items where each time the program runs, it will enter a loop that performs the following steps: a list of items and their prices is displayed on the screen. The user is then allowed to either quit the program or pick an item from the machine. If the user selects an item, the program will notify the user that an amount must be entered for payment. The program will then display the amount of change that would be returned and subtract one from the number of items left in the machine for that item. If the user selects an item that is sold out, a message to that effect will be displayed. The loop then repeats. When the user chooses to quit the program, the program must display the total amount of sales the machine earned during the current run. Then, print out a summary table of the machine's final state, which includes the drink names, prices, and cans available in the machine at that point.
You are simulating the interaction between a person using a vending machine and if you were buying an item, what would you need to see displayed to understand what was happening at each step? What would you like to see to make the machine user-friendly? Part of your grade on this programming project will be determined by how well you utilize methods and parameters appropriately.

Recommended Skills

Public Clarification Board

  • Mirence
    Mirence
    • 11 years ago

    I have over 5 years of experience as a Java developer, so I can do this project

    • 11 years ago
  • ajithperur
    ajithperur
    • 11 years ago

    I can create your project with theminimum possible price.I have worked on JAVA technologies for 2.5 years.

    • 11 years ago
  • nguyenntse900743
    nguyenntse900743
    • 11 years ago

    I'm work as java programer for two years, so I know that I conform with this kind of project. I can done it with best price because I need some good review from you.

    • 11 years ago
    1. BMtheManiacBM
      Contest Holder
      • 11 years ago

      please submit the java file

      • 11 years ago
  • prasant1206
    prasant1206
    • 11 years ago

    I have a similar application like can i send the screen shots so that you can better picture on this.

    • 11 years ago
    1. BMtheManiacBM
      Contest Holder
      • 11 years ago

      please submit the java files and screenshots if available in a zip file

      • 11 years ago
  • MohamedIbrahimCS
    MohamedIbrahimCS
    • 11 years ago

    We are Egyptian team, and i am sure that you will get our work is a great as you expect, all of team have a diploma in javaSE, JavaEE, JavaFX using many technologies like Struts1, Struts2, Hibernate, JPA, Spring, Spring MVC, Spring Security, EJB, JSF, Primefaces, Webservices and all of us familier with XML, Javascript, AJAX, Web Services .. etc

    Also we have members who have a diploma in Andriod, JavaME, IOS, Blackberry applications

    We are a team of programmers who have many skills in programming generally and in java specifically. we worked on a projects for a big companies like vodafone, Etisalat and many banks. We have knowledge about many fields of business. I can assure that you'll get your work done in an efficient way.

    • 11 years ago

Show more comments

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!