Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 545 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 545 Bytes

Vending Machine Application

This project is just a case study for ruby development

Assumetions

I assume that the machine is in Egypt.

To run the program run Main.rb

when you run the main you have 3 options:

1 - buy a product:

  • first choose a product
  • enter your cash
  • the machine should return change to user

2 - reload a product

  • first select a product
  • enter the quantity you want to add

3 - reload a change

  • first select a change
  • enter the quantity you want to add