Skip to content

omrajshinde534/PizzaBillGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍕 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

About

A Core Java console-based Pizza Bill Generator application that calculates the total bill based on pizza type, extra cheese, extra toppings, and takeaway charges using OOP concepts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages