-
-
Save jasondown/10a157f92e5643f9eee147ebbf9313be to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Customer 1 is still hungry and orders another | |
Vend item to customer 1 | |
New stock: 4 | |
Customer 3 is still hungry and orders another | |
Customer 2 is still hungry and orders another | |
Vend item to customer 3 | |
New stock: 3 | |
Vend item to customer 2 | |
New stock: 2 | |
Customer 3 is still hungry and orders another | |
Vend item to customer 3 | |
New stock: 1 | |
Customer 3 is still hungry and orders another | |
Vend item to customer 3 | |
New stock: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment