Java Restaurant Ordering & Billing System
A console-based Java application that simulates a restaurant food ordering and billing system.
Users can select a restaurant, choose menu items, place orders, generate bills, and simulate payment.
Features
✔ Restaurant selection
✔ Menu-based food ordering
✔ Quantity selection
✔ Add multiple items to order
✔ Automatic bill generation
✔ Discount calculation (10% above ₹500)
✔ GST calculation (5%)
✔ Dine-in / Takeaway option
✔ Packing charge for takeaway
✔ Payment simulation (UPI / Cash)
✔ Random Bill ID and Order ID generation
✔ Mobile number validation
✔ Clean formatted bill output
Technologies Used
- Java
- Console I/O
- Switch Case
- Loops
- String Formatting
- Thread.sleep() Simulation
Project Structure
Sample Flow
- Enter customer details
- Select order type (Dine-in / Takeaway)
- Choose restaurant
- Select food items
- Enter quantity
- Add multiple items
- Bill generation
- Choose payment method
- Order confirmation
Learning Outcomes
This project demonstrates:
- Java basic programming
- Conditional statements
- Loops and control flow
- Input validation
- Console UI formatting
- Billing logic implementation
- Basic payment simulation
Author
Pravin P R
Future Improvements
- GUI version using Java Swing / JavaFX
- Database integration (MySQL)
- Admin menu management
- Order history tracking