Write a program that allows users to enter and edit detailed pizza orders.
pizza[3].size = 's';
Here's a sample run. The user's input is shown in BOLD.
How many pizzas would you like? 3 What size will pizza 1 be ? X Please enter one of S, M, or L What size will pizza 1 be ? S How many toppings will be on pizza 1 ? 7 Sorry, you can't have more than 5 toppings. How many toppings will be on pizza 1 ? 1 Pizza 1 is a small with 1 topping. What size will pizza 2 be ? m How many toppings will be on pizza 2? 3 Pizza 2 is a medium with 3 toppings. What size will pizza 3 be ? L How many toppings will be on pizza 3? 5 Pizza 3 is a large with 5 toppings. Here is your order: 1. small pizza with 1 topping 2. medium pizza with 3 toppings 3. large pizza with 5 toppings Is this correct? N Which pizza would you like to change? 2 What size will pizza 2 be ? L How many toppings will be on pizza 2? 1 Pizza 2 is a large with 1 topping. Here is your order: 1. small pizza with 1 topping 2. large pizza with 1 topping 3. large pizza with 5 toppings Is this correct? Y Bon Appetit!