Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Sams Teach Yourself Beginning Databases In 24 Hours

Authors: Ryan Stephens, Ron Plew

1st Edition

067232492X, 978-0672324925

More Books

Students also viewed these Databases questions