SlideShare a Scribd company logo
Pizza hut program add design by urself
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int main()
{
int a,b,c,d;
system("color F2 ");
char e;
int i,j,k,l,m,n;
int AP[15]={0,400,440,365,195,295,325,525,785,450,365,440,295,199,249};
int MP[7]={0,60,65,89,25,85,100};
printf("nSelect category");
printf("n 1.Veg pizza");
printf("n 2.Nonveg pizza");
printf("n 3.Offersn");
scanf("%d",&i);
if (i==1)
{
system("cls");
printf("n 1.Deluxe Veggie");
printf("n 2.Veg extra vaganza");
printf("n 3.5 Pepper");
printf("n 4.Farm house pizza");
printf("n 5.Peppy Paneer");
printf("n 6.Cheese n cornn");
scanf("%d",&j);
system("cls");
printf("nWhich size pizza you want?");
printf("n1.regular");
printf("n2.medium");
printf("n3.largen");
scanf("%d",&k);
printf("nEnter number of pizza's - ");
scanf("%d",&l);
if (k==1){
a=0.2*AP[j];
printf("n cost of each pizza is %d",a);
b=a*l;
printf("nsum is %d",b);
system("cls");
}
if (k==2){
a=0.5*AP[j];
printf("n cost of each pizza is%d",a);
b=a*l;
printf("nsum is %d",b);
system("cls");
}
if (k==3){
a=AP[j];
printf("n cost of each pizza is%d",a);
b=a*l;
printf("nsum is %d",b);
system("cls");
}
}
else if (i==2){
printf("n 1.Chicken dominator");
printf("n 2.Peri peri chicken");
printf("n 3.Chicken tikka");
printf("n 4.Chicken golden delight");
printf("n 5.Chicken Fiesta");
printf("n 6.Chicken sausage");
scanf("%d",&j);
printf("n Which size pizza you want?");
printf("n 1.regular");
printf("n 2.medium");
printf("n 3.large");
scanf("%d",&k);
printf("n Enter number of pizza's-");
scanf("%d",&l);
if (k==1){
a=0.2*AP[j+6];
printf("n cost of each pizza is%d",a);
b=a*l;
printf("nsum is %d",b);
system("cls");
}
if (k==2){
a=0.5*AP[j+6];
printf("n cost of each pizza is%d",a);
b=a*l;
printf("nsum is %d",b);
system("cls");
}
if (k==3){
a=AP[j+6];
printf("n cost of each pizza is%d",a);
b=a*l;
printf("nsum is %d",b);
system("cls");
}
} else if (i==3){printf("n 1.Cheese n Corn + fresh veggie");
printf("n 2.Medium hand tossed pizza");
scanf("%d",&j);
switch(j)
{
case 1:{
printf("n you have selected Cheese n corn + fresh veggie");
break;}
case 2:{
printf("n you have selected Mediumhand tossed pizza");
break;
}
}
printf("n Enter number of combo pizza's-");
scanf("%d",&l);
b=AP[j+12]*l;
printf("ncost of each combo is %d",AP[j+12]);
printf("nsum is %d",b);
system("cls");
}
printf("nDo you want any beverages or refreshment-");
printf("n1.coke");
printf("n2.sprite");
printf("n3.Garlic bread sticks ");
printf("n4.Cheesy dip");
printf("n5.Butterscotch ice cream");
printf("n6.Choclate ice cream");
printf("n7 none");
scanf("%d",&m);
printf("n How many do you want??");
scanf("%d",&n);
system("cls");
c=MP[m]*n;
printf("ntNo. of pizzas ordered is %d ",l);
printf("ntNo. of breavrage ordered is %d ",n);
printf("ntEach item is %d",MP[m]);
printf("ntSub total is %d",c);
d=(c+b);
printf("nt********************");
printf("ntGrand total= %d",d);
printf("nt********************");
printf("ntEnter customer name - ");
scanf("%s",&e);
printf("ntOrder placed on the name of %s",&e);
printf("n ..............THANK YOU
FOR VISITING US............... ");
getch();
}

More Related Content

What's hot

Array 2
Array 2Array 2
Array 2
Abbott
 
Topological Sort
Topological SortTopological Sort
Topological Sort
Dr Sandeep Kumar Poonia
 
Algoritma Traversal dalam Graf
Algoritma Traversal dalam GrafAlgoritma Traversal dalam Graf
Algoritma Traversal dalam Graf
Ajeng Savitri
 
Circular linked list
Circular linked listCircular linked list
Circular linked listdchuynh
 
Stack project
Stack projectStack project
Stack project
Amr Aboelgood
 
Scientific Computing with Python - NumPy | WeiYuan
Scientific Computing with Python - NumPy | WeiYuanScientific Computing with Python - NumPy | WeiYuan
Scientific Computing with Python - NumPy | WeiYuan
Wei-Yuan Chang
 
Stack Data Structure
Stack Data StructureStack Data Structure
Stack Data Structure
Rabin BK
 
Array dan Fungsi
Array dan FungsiArray dan Fungsi
Array dan Fungsi
Achmad Solichin
 
data structure
data structuredata structure
data structure
hashim102
 
8 python data structure-1
8 python data structure-18 python data structure-1
8 python data structure-1
Prof. Dr. K. Adisesha
 
Stack - Data Structure
Stack - Data StructureStack - Data Structure
Stack - Data Structure
Bhavesh Sanghvi
 
Priority queues
Priority queuesPriority queues
Priority queues
Priyanka Rana
 
Queue
QueueQueue
Quick sort
Quick sortQuick sort
Quick sort
Dhruv Sabalpara
 
Data Structure
Data Structure Data Structure
Data Structure
Ibrahim MH
 
Teori bahasa otomata pertemuan 5
Teori bahasa otomata pertemuan 5Teori bahasa otomata pertemuan 5
Teori bahasa otomata pertemuan 5nhiyabelle
 
Shell sorting
Shell sortingShell sorting
Shell sorting
TUC
 
Stacks & Queues
Stacks & QueuesStacks & Queues
Stacks & Queuestech4us
 
Heap Sort in Design and Analysis of algorithms
Heap Sort in Design and Analysis of algorithmsHeap Sort in Design and Analysis of algorithms
Heap Sort in Design and Analysis of algorithms
samairaakram
 

What's hot (20)

Array 2
Array 2Array 2
Array 2
 
Topological Sort
Topological SortTopological Sort
Topological Sort
 
Algoritma Traversal dalam Graf
Algoritma Traversal dalam GrafAlgoritma Traversal dalam Graf
Algoritma Traversal dalam Graf
 
Circular linked list
Circular linked listCircular linked list
Circular linked list
 
Materi 7. array
Materi 7. arrayMateri 7. array
Materi 7. array
 
Stack project
Stack projectStack project
Stack project
 
Scientific Computing with Python - NumPy | WeiYuan
Scientific Computing with Python - NumPy | WeiYuanScientific Computing with Python - NumPy | WeiYuan
Scientific Computing with Python - NumPy | WeiYuan
 
Stack Data Structure
Stack Data StructureStack Data Structure
Stack Data Structure
 
Array dan Fungsi
Array dan FungsiArray dan Fungsi
Array dan Fungsi
 
data structure
data structuredata structure
data structure
 
8 python data structure-1
8 python data structure-18 python data structure-1
8 python data structure-1
 
Stack - Data Structure
Stack - Data StructureStack - Data Structure
Stack - Data Structure
 
Priority queues
Priority queuesPriority queues
Priority queues
 
Queue
QueueQueue
Queue
 
Quick sort
Quick sortQuick sort
Quick sort
 
Data Structure
Data Structure Data Structure
Data Structure
 
Teori bahasa otomata pertemuan 5
Teori bahasa otomata pertemuan 5Teori bahasa otomata pertemuan 5
Teori bahasa otomata pertemuan 5
 
Shell sorting
Shell sortingShell sorting
Shell sorting
 
Stacks & Queues
Stacks & QueuesStacks & Queues
Stacks & Queues
 
Heap Sort in Design and Analysis of algorithms
Heap Sort in Design and Analysis of algorithmsHeap Sort in Design and Analysis of algorithms
Heap Sort in Design and Analysis of algorithms
 

Similar to PIZZA HUT C program

C Programming Example
C Programming ExampleC Programming Example
C Programming Example
PRATHAMESH DESHPANDE
 
ADA FILE
ADA FILEADA FILE
ADA FILE
Gaurav Singh
 
C programs Set 2
C programs Set 2C programs Set 2
C programs Set 2
Koshy Geoji
 
Chapter 8 c solution
Chapter 8 c solutionChapter 8 c solution
Chapter 8 c solution
Azhar Javed
 
DAA Lab File C Programs
DAA Lab File C ProgramsDAA Lab File C Programs
DAA Lab File C Programs
Kandarp Tiwari
 
C basics
C basicsC basics
C basicsMSc CST
 
Cpds lab
Cpds labCpds lab
VTU Data Structures Lab Manual
VTU Data Structures Lab ManualVTU Data Structures Lab Manual
VTU Data Structures Lab Manual
Nithin Kumar,VVCE, Mysuru
 
Cpd lecture im 207
Cpd lecture im 207Cpd lecture im 207
Cpd lecture im 207
Syed Tanveer
 
C programs
C programsC programs
C programs
Koshy Geoji
 
C tech questions
C tech questionsC tech questions
C tech questions
vijay00791
 
Pnno
PnnoPnno
Data Structure in C Programming Language
Data Structure in C Programming LanguageData Structure in C Programming Language
Data Structure in C Programming Language
Arkadeep Dey
 
C programms
C programmsC programms
C programms
Mukund Gandrakota
 
LET US C (5th EDITION) CHAPTER 2 ANSWERS
LET US C (5th EDITION) CHAPTER 2 ANSWERSLET US C (5th EDITION) CHAPTER 2 ANSWERS
LET US C (5th EDITION) CHAPTER 2 ANSWERS
KavyaSharma65
 
Logic development
Logic developmentLogic development
Logic development
Jerin John
 
Ada file
Ada fileAda file
Ada file
Kumar Gaurav
 
Data Structures : array operations in c program
Data Structures : array operations in c program Data Structures : array operations in c program
Data Structures : array operations in c program
Raghavendra Narayan
 
C lab programs
C lab programsC lab programs
C lab programs
Dr. Prashant Vats
 

Similar to PIZZA HUT C program (20)

C Programming Example
C Programming ExampleC Programming Example
C Programming Example
 
ADA FILE
ADA FILEADA FILE
ADA FILE
 
C programs Set 2
C programs Set 2C programs Set 2
C programs Set 2
 
Chapter 8 c solution
Chapter 8 c solutionChapter 8 c solution
Chapter 8 c solution
 
DAA Lab File C Programs
DAA Lab File C ProgramsDAA Lab File C Programs
DAA Lab File C Programs
 
C basics
C basicsC basics
C basics
 
Cpds lab
Cpds labCpds lab
Cpds lab
 
VTU Data Structures Lab Manual
VTU Data Structures Lab ManualVTU Data Structures Lab Manual
VTU Data Structures Lab Manual
 
Cpd lecture im 207
Cpd lecture im 207Cpd lecture im 207
Cpd lecture im 207
 
C programs
C programsC programs
C programs
 
C
CC
C
 
C tech questions
C tech questionsC tech questions
C tech questions
 
Pnno
PnnoPnno
Pnno
 
Data Structure in C Programming Language
Data Structure in C Programming LanguageData Structure in C Programming Language
Data Structure in C Programming Language
 
C programms
C programmsC programms
C programms
 
LET US C (5th EDITION) CHAPTER 2 ANSWERS
LET US C (5th EDITION) CHAPTER 2 ANSWERSLET US C (5th EDITION) CHAPTER 2 ANSWERS
LET US C (5th EDITION) CHAPTER 2 ANSWERS
 
Logic development
Logic developmentLogic development
Logic development
 
Ada file
Ada fileAda file
Ada file
 
Data Structures : array operations in c program
Data Structures : array operations in c program Data Structures : array operations in c program
Data Structures : array operations in c program
 
C lab programs
C lab programsC lab programs
C lab programs
 

Recently uploaded

"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 

Recently uploaded (20)

"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 

PIZZA HUT C program

  • 1. Pizza hut program add design by urself #include<stdio.h> #include<conio.h> #include<stdlib.h> int main() { int a,b,c,d; system("color F2 "); char e; int i,j,k,l,m,n; int AP[15]={0,400,440,365,195,295,325,525,785,450,365,440,295,199,249}; int MP[7]={0,60,65,89,25,85,100}; printf("nSelect category"); printf("n 1.Veg pizza"); printf("n 2.Nonveg pizza"); printf("n 3.Offersn"); scanf("%d",&i); if (i==1) { system("cls"); printf("n 1.Deluxe Veggie"); printf("n 2.Veg extra vaganza"); printf("n 3.5 Pepper"); printf("n 4.Farm house pizza"); printf("n 5.Peppy Paneer"); printf("n 6.Cheese n cornn"); scanf("%d",&j); system("cls"); printf("nWhich size pizza you want?"); printf("n1.regular"); printf("n2.medium"); printf("n3.largen"); scanf("%d",&k); printf("nEnter number of pizza's - "); scanf("%d",&l); if (k==1){ a=0.2*AP[j]; printf("n cost of each pizza is %d",a); b=a*l; printf("nsum is %d",b); system("cls"); } if (k==2){ a=0.5*AP[j]; printf("n cost of each pizza is%d",a); b=a*l; printf("nsum is %d",b); system("cls"); } if (k==3){ a=AP[j]; printf("n cost of each pizza is%d",a); b=a*l; printf("nsum is %d",b); system("cls"); } } else if (i==2){ printf("n 1.Chicken dominator"); printf("n 2.Peri peri chicken"); printf("n 3.Chicken tikka"); printf("n 4.Chicken golden delight"); printf("n 5.Chicken Fiesta");
  • 2. printf("n 6.Chicken sausage"); scanf("%d",&j); printf("n Which size pizza you want?"); printf("n 1.regular"); printf("n 2.medium"); printf("n 3.large"); scanf("%d",&k); printf("n Enter number of pizza's-"); scanf("%d",&l); if (k==1){ a=0.2*AP[j+6]; printf("n cost of each pizza is%d",a); b=a*l; printf("nsum is %d",b); system("cls"); } if (k==2){ a=0.5*AP[j+6]; printf("n cost of each pizza is%d",a); b=a*l; printf("nsum is %d",b); system("cls"); } if (k==3){ a=AP[j+6]; printf("n cost of each pizza is%d",a); b=a*l; printf("nsum is %d",b); system("cls"); } } else if (i==3){printf("n 1.Cheese n Corn + fresh veggie"); printf("n 2.Medium hand tossed pizza"); scanf("%d",&j); switch(j) { case 1:{ printf("n you have selected Cheese n corn + fresh veggie"); break;} case 2:{ printf("n you have selected Mediumhand tossed pizza"); break; } } printf("n Enter number of combo pizza's-"); scanf("%d",&l); b=AP[j+12]*l; printf("ncost of each combo is %d",AP[j+12]); printf("nsum is %d",b); system("cls"); } printf("nDo you want any beverages or refreshment-"); printf("n1.coke"); printf("n2.sprite"); printf("n3.Garlic bread sticks "); printf("n4.Cheesy dip"); printf("n5.Butterscotch ice cream"); printf("n6.Choclate ice cream"); printf("n7 none"); scanf("%d",&m); printf("n How many do you want??"); scanf("%d",&n); system("cls"); c=MP[m]*n;
  • 3. printf("ntNo. of pizzas ordered is %d ",l); printf("ntNo. of breavrage ordered is %d ",n); printf("ntEach item is %d",MP[m]); printf("ntSub total is %d",c); d=(c+b); printf("nt********************"); printf("ntGrand total= %d",d); printf("nt********************"); printf("ntEnter customer name - "); scanf("%s",&e); printf("ntOrder placed on the name of %s",&e); printf("n ..............THANK YOU FOR VISITING US............... "); getch(); }