A menu-driven Java console application that simulates the core operations of a coffee machine. Users can select a beverage, track available ingredients, collect stored money, inspect machine status, or shut the machine down.
- Espresso, Latte, and Cappuccino options
- Ingredient and cup inventory tracking
- Automatic resource deduction after a valid purchase
- Revenue tracking
- Machine status reporting
- Input validation
- Graceful machine shutdown
Java Scanner, switch statements, methods, conditionals, loops, state management, arithmetic operations, and formatted console output.
javac CoffeeMachineMenu.java
java CoffeeMachineMenuFatima Salam