/Freightos-Assignment

Assignment to build snack vending machine

Primary LanguageJava

Freightos-Assignment

Java application to build a snack vending machine with its required specification

main directories:

  1. Interfaces: contains interface for general Vending Machine
  2. Models: declare main classes in project: SnackVM & Snack
  3. Enums: declare enums for constants iun machine like money divided inot two parts wither Coins or Notes or Cards

Scenario:

user first enter what to choose from the menu by entering choice index when purchising, user should enter the position of the item, he can know the available items by printing them, then enter amount of money he has the machine then decides if the money is enough and right type of coins and notes, then item is removed and return back the rest.