A console-based Java application that automates the pizza billing process using Core Java and Object-Oriented Programming principles.
Pizzamania is a pizza outlet that wants to automate its billing system.
This application allows customers to select a pizza type, choose extra cheese or toppings (if applicable), opt for takeaway, and generate a detailed final bill.
| Pizza Type | Price (₹) |
|---|---|
| Veg Pizza | 300 |
| Non-Veg Pizza | 400 |
| Deluxe Veg Pizza | 550 |
| Deluxe Non-Veg Pizza | 650 |
| Extra Cheese | 100 |
| Extra Toppings | 150 |
| Take Away Charges | 20 |
🔹 Deluxe pizzas already include extra cheese and extra toppings.
- Menu-driven console application
- Four types of pizzas supported
- Extra cheese and toppings options
- Deluxe pizzas skip extra options automatically
- Takeaway packaging charges
- Detailed bill generation
- Object-Oriented Programming implementation
- Java (Core Java)
- IntelliJ IDEA
- Git & GitHub
PizzaBillGenerator └── src ├── Main.java └── Pizza.java
- Open the project in IntelliJ IDEA
- Open
Main.java - Click the ▶ Run button or press
Shift + F10 - Follow the instructions shown in the console
Welcome to PIZZAMANIA 🍕
Veg Pizza
Non-Veg Pizza
Deluxe Veg Pizza
Deluxe Non-Veg Pizza Choose Pizza Type: 1 Add Extra Cheese? (y/n): y Add Extra Toppings? (y/n): n Take Away? (y/n): y
-------- BILL DETAILS -------- Base Price: ₹300 Extra Cheese: ₹100 Take Away Charges: ₹20
Total Amount: ₹420 Thank you! Visit Again 😊
- Understanding of Java classes and objects
- Use of constructors and methods
- Handling user input using Scanner
- Applying real-world billing logic
- Using conditional statements effectively
Omraj Shinde
2nd Year Computer Engineering Student