Question: Lab 9 -Parallel Arrays Sample Output: heese PizZaS sold epperoni pizzas s month: 100 ont Pizza Pie Write a C++program that lets a Pizzeria keep
Lab 9 -Parallel Arrays Sample Output: heese PizZaS sold epperoni pizzas s month: 100 ont Pizza Pie Write a C++program that lets a Pizzeria keep track of their sales for five different types of pizza they sell Cheese, Pepperoni, Haaiian, Combo, and Veggie. It should use two parallel five-element arrays: an array of strings that holds the five pizza names and an array of integers that holds the number of pizzas sold during the past month for each pizza type. Create a named constant equal to the array size to use with your array variables Hawai ian pizzas sold last month ombo pizzas sol ddiast t month: : 1 ? Pizza Pie Sales Report Pizzas Sold Cheese epperoni Hawaiian Combo eggie Total Sales: 650 High Seller: Hawaiian Low SellerVeggie The pizza names should be stored using an initialization list at the time the name array is created. The program should prompt the user to enter the number of pizzas sold for each type. Once this sales data has been entered, the program should produce a report that displays sales for each pizza type, total sales, and the names of the highest selling and lowest selling pizzas. Press any key to continue.. S 310-Intro to Computer Science Week 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
