This project simulates a coffee machine. Users can order different types of coffee like Latte, Espresso, and Cappuccino. The system checks if there are enough ingredients (water, milk, coffee), processes payments, and prepares the coffee.
- Order Coffee π΅: Users can choose from three types of coffee: Latte, Espresso, and Cappuccino.
- Resource Check π: The system checks if there are enough ingredients (water, milk, and coffee) to prepare the selected coffee.
- Payment π°: Users make a payment for the coffee. The system ensures that the payment is processed before making the coffee.
- Coffee Preparation β: After a successful payment, the coffee machine prepares and serves the coffee to the user.
- Report π: Users can check the current status of the coffee machine, including remaining resources and the total money collected.
- Python 3.x should be installed on your machine. π₯οΈ
- Clone the repository to your local machine:
git clone https://github.com/your-username/coffee-machine-simulation.git
- Navigate to the project folder:
cd coffee-machine-simulation
- Run the project using Python:
python coffee_machine.py