Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Your goal is to ask record the sales for 5 different types of salsa, the total sales, and the names of the highest and lowest
Your goal is to ask record the sales for 5 different types of salsa, the total sales, and the names of the highest and lowest selling products. Yourprogram should have the following: The name of the program should be Assignment7 3 comment lines (description of the program, author, and date) Create a string array that stores five different types of salsas: mild, medium, sweet, hot, and zesty. The salsa names should be stored using an initialization list at the time the name array is created. (3 points) Have the program prompt the user to enter the number of salsa jars sold for each type of salsa using an array. Do not accept negative values for the number of jars sold. (4 points) Produce a table that displays the sales for each type of salsa (2 points), the total sales (2 points), and the names of the highest selling and lowest selling products (4 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started