Skip to content

This Python program simulates a coffee machine, allowing users to select from a menu of espresso, latte, or cappuccino. Users can check resources, turn off the machine, or report financial transactions.

Notifications You must be signed in to change notification settings

ergishasani/Coffee-Machine-Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Coffee Machine Simulator

This Python program emulates a coffee machine, providing users with a selection of beverages, including espresso, latte, and cappuccino. Users can interact with the machine by choosing drinks, checking resources, and managing transactions.

Features:

  • Menu Options: Choose from a variety of beverages, each with its own set of ingredients and cost.
  • Resource Management: Monitor and manage resources such as water, milk, and coffee beans to ensure availability for drink preparation.
  • Financial Tracking: Track profits earned from beverage sales and generate financial reports.
  • User Interaction: Utilize simple commands to navigate the menu, check resources, or turn off the coffee machine.

How to Use:

  1. Run the main.py file in a Python environment.
  2. Follow the prompts to select a beverage from the menu (espresso, latte, or cappuccino), check resources, or turn off the machine.
  3. Insert coins as prompted to complete the transaction and receive your drink.
  4. Enjoy your freshly prepared beverage and track your profits through financial reports.

About

This Python program simulates a coffee machine, allowing users to select from a menu of espresso, latte, or cappuccino. Users can check resources, turn off the machine, or report financial transactions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages