Question: C++ Program Description: Write a program that allows a local car company to enter their monthly sales for the first 6 months of the year.

C++

Program Description: Write a program that allows a local car company to enter their monthly sales for the first 6 months of the year.

2. Prompt the user to enter the monthly sales for each month, starting with Month 1. For example: Enter the Sales for Month 1: Enter the Sales for Month 2:

3. Store each of the monthly sales into an array.

4. Once you have the sales for all six months, display the month with the highest sales and the month with the lowest sales.

Here's an example of what the display should look like: Highest Sales: Month 2 - $35,600 Lowest Sales: Month 5 - $10,400

Of course, since the information is coming from the user, you the programmer will not know which month is which. So think of how you can determine these values (and how you can use the indexes to indicate the correct months.

5. Ask the user if they would like the program to repeat. If so, the program can restart at step 2. If not, display a good-bye message and end the program.

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 Databases Questions!