BASIC REQUIREMENTS

 

1. Input:

 1) Coin: 10,50,100, but other coins can be possible.

 2) Selection of items~ beverages, coffees, anything is possible.

 

2. Output:

 1) List of the items with selectable number

 2) When you select the items, a short introduction can be displayed

 3) The current sum of the inserted coins

 4) When you select an item, out the item from a list of items.

 

3. Functions:

 1) It gets coins and sells the items.

 2) It is possible to sell the items until the coin balance is greater than the price of the lowest-priced item

     As a matter of course, the customer can cancel the transaction and get the rest of the coins back.

 3) Every time when it sells the items, it sends a state of current storage to its owner.

 4) If the number of items in the item list is less than a certain value, it sends order to get additional items from the management center.

 5) If the center sends the additional items, it will add the items to the item list.

 

4. Select items you favor and complete the requirements with your additional functionality (optional).

 

 

코드

https://github.com/bosunKwak/OOP/tree/main/C%2B%2B/vendingmachine

 

bosunKwak/OOP

Contribute to bosunKwak/OOP development by creating an account on GitHub.

github.com

 

 

'Project' 카테고리의 다른 글

내가 Typescript를 쓰는 이유  (0) 2024.01.12
[SSS refactoring] plan  (0) 2023.12.10
[Cryptography Project] DES 구현 (Java)  (0) 2020.11.13

+ Recent posts