100 Days of Code: The Complete Python Pro Boot Camp – Day 16 Project
Create a coffee maker program with OOP (Object Oriented Programming).
Had a requirements document that said the coffee maker should turn off if you ask it to turn off. Print a report that shows resources (water, milk, coffee) and amount of money/profit. It should ask user what type of coffee to make. Check resources to ensure there are enough resources to make the desired coffee. It will ask user to enter coins. Calculate to make sure it is enough to make the coffee. Give change if needed. Then make the coffee, which should reduce the amount of resources and add money to the profit.
- Choose ‘Open in Replit’
- Select ‘Run’ to play/replay the game.
- Enter answers into the console where you see the tiny square at the end of sentences.