Question: on visual studio C++ Create a program that does the following: 1) Create a two-dimensional array of characters that has 12 rows, each af which
on visual studio C++


Create a program that does the following: 1) Create a two-dimensional array of characters that has 12 rows, each af which will store, with an initialization list, the name of a month of the year. Be sure to indicate the number of columns of this matrix large enaugh to fit the longest name, considering that there must be a space for the 10. 2) Create a second arrangement, in this case a one-dimensional array of double's, which will be used to store the sales of each month of a campany 3) Ask the user for the sales of each month and store that information in the arrangement of double's described in part 2) of this exercise. Validate that a negative value is not entered. The request of these Data will look like this: Between the sales of each month: lanuary: February March: April: December 4) Calculate the total sold throughout the year. Do this in a function that adds up the content of all the cells of the sales arrangement, and return it 5) Identify the month of least quantity sold. Do this with 2 functions to a function that identifies and returns the lowest value of sales in the year b. another function that counts the number of months that had that lower value of sales, and return this value (this is a number from 1 to 12) 6) Identify the month with the highest quantity sold. Do this with 2 functions to a function that identifies and returns the highest sales value in the year b. another function that counts the number of months that had that higher sales value, and returns this value (this is a number from 1 to 12) ?Print a report that looks ike the example below. Note that the moths with the lower Sales are identified with (-), and those with the highest sales are marked with () To place the (-1 or the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
