A console-based restaurant management program written in Java.
This project simulates a small restaurant’s workflow — including order handling, payment calculation, menu setup, and revenue statistics — using arrays, loops, and formatted console output.
- Displays a formatted menu with item numbers and prices
- Allows multiple items to be selected by number
- Calculates:
- Subtotal
- Tax (12%)
- Tips (custom percentage)
- Final Total
- Validates inputs and prevents invalid selections
- Allows editing of existing menu items (name and price)
- Updates prices dynamically in the main system
- Displays menu using neatly formatted console output
- Tracks:
- Number of customers
- Total revenue, tax, and tips
- Average values per customer
- Displays last five transaction totals using an in-memory history log
- Ends the program gracefully with a thank-you message
- Procedural programming in Java
- Arrays and string manipulation (
split()for item parsing) - Nested loops and conditionals
- Input validation with
Scanner - Console formatting using
String.format() - Basic data persistence using an in-memory history array
- Language: Java
- Version: JDK 17 or newer
- IDE: IntelliJ IDEA / Eclipse / VS Code
- Libraries: Java Standard Library only (no external dependencies)
- Clone the repository:
git clone https://github.com/<yourusername>/java-restaurant-system.git