Question: Using c# Given the following variable declarations: const int MONTHS 12; stringt] monthNames-January, February, March, April, May, June double[] monthSales new double[MONTHS]: Assume that the

Using c#
 Using c# Given the following variable declarations: const int MONTHS 12;
stringt] monthNames-"January", "February", "March", "April", "May", "June" double[] monthSales new double[MONTHS]: Assume

Given the following variable declarations: const int MONTHS 12; stringt] monthNames-"January", "February", "March", "April", "May", "June" double[] monthSales new double[MONTHS]: Assume that the monthSales array has already been loaded with the sales figures for each "July", "August", September", "october", "November", "December"); of the twelve m onths. Provide a code snippet that will produce a report which is formatted t actly match the following sample. Declare any additional variables required. Note: the numbers at the top are provided as a spacing guide and should not appear on your report. 123456789812345678981234567890 January February March April May June July August September October November December $90,525.25 $108,005.86 $89,480.77 $182,658.66 $77,525.99 $79,255. 54 $86,543.78 $112,658.63 $105,678.89 $98,789.34 $101,589.99 $98,743.66 7. Using the same declarations as in question #6, provide a code snippet that will detelrnine which month had the highest sales and display the month name and sales amount as shown in the following sample. Declare any addition Assume there will be no ties. al variables that are required. C:Users mbesn Deskt... lighest month is August with sales of $112,650.63

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!