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
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