Skip to content

Latest commit

 

History

History
109 lines (72 loc) · 2.21 KB

File metadata and controls

109 lines (72 loc) · 2.21 KB

🍕 Pizza Bill Generator (Core Java)

A console-based Java application that automates the pizza billing process using Core Java and Object-Oriented Programming principles.


📌 Project Description

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 Variants & Pricing

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.


⚙️ Features

  • 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

🛠️ Technologies Used

  • Java (Core Java)
  • IntelliJ IDEA
  • Git & GitHub

📁 Project Structure

PizzaBillGenerator └── src ├── Main.java └── Pizza.java


▶️ How to Run the Project

  1. Open the project in IntelliJ IDEA
  2. Open Main.java
  3. Click the ▶ Run button or press Shift + F10
  4. Follow the instructions shown in the console

🖥️ Sample Output

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 😊


🎓 Learning Outcomes

  • 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

👨‍💻 Author

Omraj Shinde
2nd Year Computer Engineering Student