Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

mahboube89/VendingMachine-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

5 Commits

Repository files navigation

Vending Machine

Overview

This Java application simulates a simple vending machine that offers various drinks for purchase.

App-Screenshot

App-Screenshot App-Screenshot App-Screenshot

Features

  • ** Product Selection:** Choose from a list of available drinks.
  • ** Purchase:** Buy drinks by entering the required amount.
  • ** Change Calculation:** Receive change if you insert more money than the drink price.
  • ** Continuation:** Decide whether to continue using the vending machine after a transaction.

Prerequisites

  • Java JDK 21 or newer. Ensure you are using an LTS version for the best stability and support. For instance, version 21.0.2 as of October 17, 2023, is a good choice.

Usage

  • Menu: The available drinks and their prices are displayed on the console.

  • Product Selection: Enter the number of the desired product.

  • Purchase: If purchasing, enter the required amount. The application will guide you through the process.

  • Continuation: After completing a transaction, decide whether to continue using the vending machine.

Repository

VendingMachine-Java GitHub Repository

About

This Java application simulates a simple vending machine that offers various drinks for purchase.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /