Pizza Hut Management System Project in C++ with Source Code
The Pizza Hut Management System Project in C++ is a consoled based application and created using C++ programming language. This system is a simple mini project and compiled in Code::Blocks IDE using GCC compiler. This Pizza Hut Management System Project in C++ is based on the fundamental idea of managing pizza orders. There’s no login framework in this system. This system allows customers to order pizza without obligation. This system is an attempt to provide customers with the benefits of systematic order management.
This simple mini project for Pizza Hut Management System Project in C++ is complete and totally error free and also includes a downloadable Source Code for free, just find the downloadable source code below and click to start downloading. Before you start to click the download now first you must click the Run Quick Scan for secure Download.
Discussing the highlights of the Pizza Hut Management System Project framework. The client selects the size pizza available and accesses the quantity. Clients can select pizzas with available toppings and add them to the cart to order. After this, the system show the total bill of customers.
Anyway if you want level up your knowledge in programming especially C/C++ Programming Language, try this new article I’ve made for you Best C Projects with Source Code for Beginners Free Download 2022.
To start creating a Pizza Hut Management System Project in C++, make sure that you have a Code Blocks or any platform of C++ installed in your computer.
Steps on how to Pizza Hut Management System Project in C++ with Source Code
Pizza Hut Management System Project in C++ with Source Code
- Step 1: Create a new project.
First open the code blocks IDE and click “create a new project“.
- Step 2: Choose console application.
Second click the “console application” and after that click “next“.
- Step 3: Choose C++ language.
Third choose “C++ language” and click “next“.
- Step 4: Name Your Project.
Fourth name the project you’ve created and click “next” after that click “finish“.
- Step 5: The actual code.
You are free to copy the given source code below or download the downloadable source code given.
This function is for the types of pizza
In the code given below, which is for the function for the types of pizza.(Pizza Hut Management System Project in C++)
1 2 3 |
struct Types_of_Pizza{ int Small_Qty,Med_Qty,Lg_Qty,others,Fresh_Crispt_Pan,Cheese_Bursting,Thin_wheat_crusting; }; |
This function is for the name of pizza
In the code given below, which is for the function for the name of pizza.(Pizza Hut Management System Project in C++)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
char itemNames[12][100]={ "Negros Hawaiian(Vegetable)", "Candoni Spicy Triple(Vegetable)", "Double Cheese Hawaiian(Vegetable)", "Kab Farm House(Vegetable)", "Cheese and Barbeque Chicken(Non Vegetable)", "Chicken Fiesta(Non Vegetable)", "Chicken Negros(Non Vegetable)", "Chicken Golden Delight(Non Vegetable)", "Beans String Vegetable", "Beans String Non Vegetable", "Spring Roll Vegetable", "Spring Roll Non Vegetable" }; |
This function is for the menu of pizza
In the code given below, which is for the function for the menu of pizza.(Pizza Hut Management System Project in C++)
1 2 3 |
if(c==1){ printf("Enter\n1 - Vegetable Pizzas\n2 - Chicken Pizzas\n3 - Sides\n4 - Exit\n"); scanf("%d",&mainChoice); |
This function is for the vegetable pizza
In the code given below, which is for the function for the user to choose a vegetable pizza. Such as small, medium, and large pizza.(Pizza Hut Management System Project in C++)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
int second_choice; printf("Enter\n1 - Negros Hawaiian\n2 - Candoni Spicy Triple\n3 - Double Cheese Hawaiian\n4 - Kab Farm House\n5 - Exit\n"); scanf("%d",&second_choice); if(second_choice!=5){ int sizeChoice; printf("Enter\n1 - Small\n2 - Medium\n3 - Large\n"); scanf("%d",&sizeChoice); if(sizeChoice==1) pizzaCart[second_choice-1].Small_Qty++; if(sizeChoice==2) pizzaCart[second_choice-1].Med_Qty++; if(sizeChoice==3) pizzaCart[second_choice-1].Lg_Qty ++; printf("Need Special Crusts\n1 - Fresh Crispy Pan\n2 - Cheese Burst\n3 - Wheat thin Crust\n4 - No Need\n"); int extraCrust; scanf("%d",&extraCrust); if(extraCrust==1) pizzaCart[second_choice-1].Fresh_Crispt_Pan++; else if(extraCrust==2) pizzaCart[second_choice-1].Cheese_Bursting++; else if(extraCrust==3) pizzaCart[second_choice-1].Thin_wheat_crusting++; if(second_choice!=5) printf("Pizza Added to Cart Successfully\n"); } |
This function is for the chicken pizza
In the code given below, which is for the function for the user who wants to choose a chicken pizza.(Pizza Hut Management System Project in C++)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
int second_choice; printf("Enter\n1 - Cheese and Barbeque Chicken\n2 - Chicken Fiesta\n3 - Chicken Negros\n4 - Chicken Golden Delight\n5 - Exit\n"); scanf("%d",&second_choice); if(second_choice!=5){ int sizeChoice; printf("Enter\n1 - Small\n2 - Medium\n3 - Large\n"); scanf("%d",&sizeChoice); if(sizeChoice==1) pizzaCart[second_choice+4-1].Small_Qty++; if(sizeChoice==2) pizzaCart[second_choice+4-1].Med_Qty++; if(sizeChoice==3) pizzaCart[second_choice+4-1].Lg_Qty ++; printf("Need Special Crusts\n1 - Fresh Crispy Pan\n2 - Cheese Burst\n3 - Wheat thin Crust\n4 - No Need\n"); int extraCrust; scanf("%d",&extraCrust); if(extraCrust==1) pizzaCart[second_choice+4-1].Fresh_Crispt_Pan++; else if(extraCrust==2) pizzaCart[second_choice+4-1].Cheese_Bursting++; else if(extraCrust==3) pizzaCart[second_choice+4-1].Thin_wheat_crusting++; if(second_choice!=5) printf("Pizza Added to Cart Successfully\n"); } |
This function is for the delete cart
In the code given below, which is for the function to delete an item from the cart.(Pizza Hut Management System Project in C++)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
if(c==4) { int id; printf("Enter Id to delete from Cart\n"); scanf("%d",&id); pizzaCart[id].Small_Qty =0; pizzaCart[id].Med_Qty =0; pizzaCart[id].Lg_Qty =0; pizzaCart[id].others=0; pizzaCart[id].Fresh_Crispt_Pan =0; pizzaCart[id].Cheese_Bursting =0; pizzaCart[id].Thin_wheat_crusting =0; printf("Item Deleted Successfully\nRearranged Order is\n"); Order_Dis(pizzaCart,costOnSize,itemNames,sidesCost); } |
This function is for the showing the list in a cart
In the code given below, which is for the function to show a list in a cart and the total bill of customer.(Pizza Hut Management System Project in C++)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
int totalCost=0,i; printf("---------------------List in Cart-------------------------\n"); for(i=0;i<11;i++) { if(pizzaCart[i].Small_Qty >0||pizzaCart[i].Med_Qty >0||pizzaCart[i].Lg_Qty ||pizzaCart[i].others>0||pizzaCart[i].Fresh_Crispt_Pan >0||pizzaCart[i].Cheese_Bursting ||pizzaCart[i].Thin_wheat_crusting >0) { if(i>=0&&i<=7){ printf("Id : %d\n",i); printf("Item Name : %s\n",itemNames[i]); if(pizzaCart[i].Small_Qty >0) printf("Small Size Quantity: %d -> Cost : %d\n",pizzaCart[i].Small_Qty,costOnSize[i].SM_Cost *pizzaCart[i].Small_Qty); if(pizzaCart[i].Med_Qty>0) printf("Medium Size Quantity: %d -> Cost : %d\n",pizzaCart[i].Med_Qty,costOnSize[i].MED_Cost *pizzaCart[i].Med_Qty); if(pizzaCart[i].Lg_Qty>0) printf("Large Size Quantity: %d -> Cost : %d\n",pizzaCart[i].Lg_Qty,costOnSize[i].LG_Cost *pizzaCart[i].Lg_Qty ); if(pizzaCart[i].Fresh_Crispt_Pan >0) printf("Fresh Pan Quantity: %d -> Cost : %d\n",pizzaCart[i].Fresh_Crispt_Pan ,costOnSize[i].Fresh_Crisp_Pan_Cost *pizzaCart[i].Fresh_Crispt_Pan); if(pizzaCart[i].Thin_wheat_crusting >0) printf("Wheat Thin Crust Quantity: %d -> Cost : %d\n",pizzaCart[i].Thin_wheat_crusting ,costOnSize[i].Thin_wheat_crusting_cost *pizzaCart[i].Thin_wheat_crusting ); if(pizzaCart[i].Cheese_Bursting >0) printf("Cheese Burst Quantity: %d -> Cost : %d\n",pizzaCart[i].Cheese_Bursting ,costOnSize[i].Cheese_Bursting_Cost *pizzaCart[i].Cheese_Bursting ); totalCost+=pizzaCart[i].Small_Qty<em>costOnSize[i].SM_Cost; totalCost+=pizzaCart[i].Med_Qty</em>costOnSize[i].MED_Cost; totalCost+=pizzaCart[i].Lg_Qty<em>costOnSize[i].LG_Cost; totalCost+=pizzaCart[i].Fresh_Crispt_Pan</em>costOnSize[i].Fresh_Crisp_Pan_Cost; totalCost+=pizzaCart[i].Cheese_Bursting<em>costOnSize[i].Cheese_Bursting_Cost; totalCost+=pizzaCart[i].Thin_wheat_crusting</em>costOnSize[i].Thin_wheat_crusting_cost; } else{ printf("Id : %d\n",i); printf("Item Name : %s\n",itemNames[i]); printf("Quantity : %d\n",pizzaCart[i].others); printf("Cost : %d\n",pizzaCart[i].others<em>sidesCost[i-8]); totalCost+=(pizzaCart[i].others)</em>sidesCost[i-8]; } } } printf("-------------------Total Cost : %d-----------------------\n",totalCost); } |
ABOUT PROJECT | PROJECT DETAILS |
---|---|
Project Name : | Pizza Hut Management System |
Project Platform : | C/C++ |
Programming Language Used: | C++ Programming Language |
Developer Name : | itsourcecode.com |
IDE Tool (Recommended): | Dev-C++/Codeblocks |
Project Type : | Desktop Application |
Database: | Stores data in .DAT file |
Upload Date and Time: | October 29, 2020- 4:28 am |
Downloadable Source Code
Summary
In summary, this 2020 Pizza Hut Management System Project in C++ project can be useful to students or professional who wants to learn C++ programming language. This project can also be modified to fit your personal requirements. Hope this project will help you to improve your skills.
That’s how you create Pizza Hut Management System Project in C++ in your projects. You can always expand and try different ways in implementing the Pizza Hut Management System Project in C++ in your C++ projects. In this Mini Project for Pizza Hut Management System Project in C++ with Source Code is free to download and It is easy to understand and manipulate this project and use for education purpose only.
Related Articles
- Student Record System in C with Source Code
- Calendar In C Programming With Source Code
- Mini Project for Phonebook in C with Source Code
- Employee Management System In C With Source Code
- School Billing System in C with Source Code
- Library Management System In C++ With Source Code
- School Management System In C++ With Source Code
- Bus Reservation System in C++ with Source Code
- Bank Management System in C++ with Source Code
- Student Management System In C++ With Source Code
- Hostel Booking System Project in C++ with Source Code
- Food Ordering System Project in C++ with Source Code
Inquiries
If you have any questions or suggestions about Pizza Hut Management System Project in C++ with Source Code, please feel free to leave a comment below.