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();
}