Answered You can hire a professional tutor to get the answer.

QUESTION

I having trouble writing this code in c++, here is the pseudocode:

I having trouble writing this code in c++, here is the pseudocode:

Initialize string array, highest seller index and lowest seller index

Loop

Input sales for salsa

Validate to be sure sales are above 0

End-Loop

Loop

 Calculate total jars sold

 Test for low and high sales products

End-Loop

Display the sales for each type of salsa

Display the total sales, salsa with the highest sales, and the salsa with the lowest sales

Sample output:

Jars sold last month of mild : 11

Jars sold last month of medium: 22

Jars sold last month of hot : 33

Jars sold last month of sweet : 44

Jars sold last month of fruit : 55

Jars sold last month of verde : 66

Jars sold last month of zesty : 77

 Salsa Sales Report

Name Jars Sold

_________________

mild : 11

medium: 22

hot : 33

sweet : 44

fruit : 55

verde : 66

zesty : 77

Total Sales: 308

High Seller: zesty

Low Seller : mild

Press any key to continue . . .

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question