Question: Using C + + Write a program that lets a manufacturer of chips and salsa keep track of their sales for five different types of

Using C++
Write a program that lets a manufacturer of chips and salsa keep track of their sales for five different types of salsa they produce: mild, medium, sweet, hot, and zesty. It should use two parallel five-element arrays: an array of strings that holds the five salsa names and an array of integers that holds the number of jars sold during the past month for each salsa type. The salsa 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 jars sold for each type. Once this sales data has been entered, the program should produce a report that displays sales for each salsa type, total sales, and the names of the highest selling and lowest selling products.
Directions
Plan the solution to the problem above with an IPO chart. Then write the code using visual studio. After you have completed your program, upload the entire zip folder containing your program and planning documents to this assignment.
Grading
A program that is not able to compile automatically is graded a zero as there is a syntax error in the code.
A program that is able to compile but does not produce correct output is deducted 30 points as there is a logic error in the code.
A program without a program heading, comments (your name, program name, and program description) at the top of the code is deducted 20 points.
Mistakes in using good programming style, such as with variable names or user interfaces, are worth 2 points each.
Major errors, such as not producing the correct output, or runtime errors, are deducted 10 points per occurrence.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!