Skip to content

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.

Notifications You must be signed in to change notification settings

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

No packages published

Languages