#include using namespace std; int main() { char ch; cout<<"Welcome to Freddy's Pizza"<>choice; cout<>ch; cout<>ch; cout<<"Pizza Order: "<>ch; cout<<"Pizza Order: "<
#include <iostream> using namespace std; int main()
{
char ch;
cout<<"Welcome to Freddy's Pizza"<<endl<<endl; cout<<"Pizza Menu: "<<endl<<endl;
cout<<" 1: Vegetarian Pizza "<<endl;
cout<<" 2: Chicken Dynamite Pizza"<<endl; cout<<" 3: Meat Lovers Pizza"<<endl;
int choice;
cout<<"Which pizza would you like to try? "; cin>>choice;
cout<<endl;
switch(choice){
case 1:
cout<<"What size of pizza would you like(L,M,S)? ";
cin>>ch;
cout<<endl<<endl<<endl;
cout<<"Pizza Order: "<<endl;
cout<<"Pizza Name: Vegetarian Pizza"<<endl;
cout<<"Preparation time: 15 minutes"<<endl;
cout<<"Calories: 25"<<endl;
if(ch == 'L' || ch=='l'){
cout<< "Pizza Price: 4 OMR"<<endl;
}else if(ch == 'M' || ch=='m'){
cout<< "Pizza Price: 3 OMR"<<endl;
}else if(ch == 'S' || ch=='s'){
cout<<"Pizza Price: 2 OMR"<<endl;
}
cout<<"Toppings: Onion, Green paper, Olives, Sweet Corn and Mushrooms"<<endl; break;
case 2:
cout<<"What size of pizza would you like(L,M,S)? ";
cin>>ch;
cout<<"Pizza Order: "<<endl;
cout<<"Pizza Name: Chicken Dynamite Pizza"<<endl;
cout<<"Preparation time: 20 minutes"<<endl;
cout<<"Calories: 150"<<endl;
if(ch == 'L' || ch=='l'){
cout<< "Pizza Price: 7 OMR"<<endl;
}else if(ch == 'M' || ch=='m'){
cout<< "Pizza Price: 5 OMR"<<endl;
}else if(ch == 'S' || ch=='s'){
cout<<"Pizza Price: 3 OMR"<<endl;
}
cout<<"Toppings: Grilled Chicken, Cheese, Ranch Sauce, Jalapenos"<<endl;; break;
case 3:
cout<<"What size of pizza would you like(L,M,S)? ";
cin>>ch;
cout<<"Pizza Order: "<<endl;
cout<<"Pizza Name: Meat Lovers Pizza"<<endl;
cout<<"Preparation time: 20 minutes"<<endl;
cout<<"Calories: 250"<<endl;
if(ch == 'L' || ch=='l'){
cout<< "Pizza Price: 8 OMR"<<endl;
}else if(ch == 'M' || ch=='m'){
cout<< "Pizza Price: 6 OMR"<<endl;
}else if(ch == 'S' || ch=='s'){
cout<<"Pizza Price: 4 OMR"<<endl;
}
cout<<"Toppings: Minced Meat, Cheese, BBQ Sauce, Freash Tomatos"<<endl;; break;
default:
cout<<"Wrong Selection";
break;
}
return 0; }
could you please add commentsy

Step by step
Solved in 2 steps









