Question: c++ program visual studio Create a structure calledPizza.The structure has three members: name (20 char array, values like Hawaiian, Veggie, etc.), diameter (in integer inches),
c++ program visual studio Create a structure calledPizza.The structure has three members: name (20 char array, values like "Hawaiian", "Veggie", etc.), diameter (in integer inches), weight (in ounces, which may have a fractional part).
2. Create an array of twopointerstoPizza.
3. Usenewto allocate memory for two pizzas, store the pointers in the array.
4. Ask the user to enter values for both pizzas, first one, then the other.
5. Print both pizzas at the end of your program, after all data has been entered.
6. Prompt and wait for the user to press Enter at the end of your program.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
