A terminal-based simulation of a coffee vending machine built in Python. The program manages resources, processes coins, and serves coffee (espresso, latte, cappuccino) while tracking inventory and transactions.
- Choose from three drinks: Espresso, Latte, or Cappuccino
- Automatic resource management (water, milk, coffee)
- Accepts coins: quarters, dimes, nickels, and pennies
- Calculates and returns change if overpaid
- Displays detailed resource reports on demand
- Prevents purchases if resources are insufficient
- Modular and beginner-friendly codebase
What would you like? (espresso/latte/cappuccino): latte
Please insert coins.
How many quarters? 10
How many dimes? 0
How many nickels? 0
How many pennies? 0
Please take your change: $0.0
Here is your latte. Enjoy!