Skip to content

PR-Pravin/java-restaurant-ordering-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

  1. Enter customer details
  2. Select order type (Dine-in / Takeaway)
  3. Choose restaurant
  4. Select food items
  5. Enter quantity
  6. Add multiple items
  7. Bill generation
  8. Choose payment method
  9. 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

About

A Java console-based restaurant ordering and billing system with menu selection, quantity ordering, bill generation, discount & GST calculation, and payment simulation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages