Question: (c++) c++ c++ Create a program, using at least one For loop, that displays the Sales Amounts made in each of 4 regions (North, South,

(c++) c++ c++ Create a program, using at least one For loop,(c++)

c++

c++

Create a program, using at least one For loop, that displays the Sales Amounts made in each of 4 regions (North, South, East, and West) during a three month period. The program should allow the user to enter 4 sets (one set for each region) of three sales amounts (one sales amount for each month). The program should display each regions total sales for the three month period, and the companies total sales for the three month period. Example data (Remember, the user should be able to enter any data they wish, as long as it follows the below format): The final date/time to submit this assignment is Friday, Feb. 26th at midnight. Create a program that displays the number of days in a month. Use a 12-element one-dimensional array to store the number of days in each month (use 28 for the number of days in February). Code the program so that it displays the number of days in the month corresponding to the number entered by the user. For example, when the user enters the number 1, the program displays "There are 31 days in the month of January". The program should display an error message if the user enters an invalid number. Put a loop in the program so that the user can input multiple months. Use a sentinel of -1 to exit the program. The final date/time to submit this assignment is Friday, Feb. 26th at midnight. Create and code a program that uses three parallel numeric arrays of size 6. The program searches one of the arrays and then displays the corresponding values from the other two arrays. The program should prompt the user to enter a ProductID. Valid ProductID's should be the numbers 24, 37, 42, 51, 66, and 79. It should then search for the ProductID in the ids array and display the corresponding price and quantity from the prices and quantities arrays. Populate the prices and quantities arrays with any values you desire. Price should allow for two decimal places. Allow the user to display the price and quantity for as many ProductID's as desired without having to execute the program again. Of course, any bad ProductID's should display an error message, but the user should be able to continue until a sentinel is entered. The final date/time to submit this assignment is Friday, Feb. 26th at midnight

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!