Question: Declare an array of 7 double values, call it sales. Fill the array with the sales of the 7 days of the week. Print all

Declare an array of 7 double values, call it sales.
Fill the array with the sales of the 7 days of the week.
Print all elements in the array.
Find the total and the average sales for the whole week.
Find the day with the maximum sales and the day with the minimum sales of the week.
Declare a 2D array of 4 rows and 7 columns , call it monthly_sales.
Fill the array with the sales in 4 weeks of a month.
Find the total and the average sales of each week.
Find the total and the average sales per day for the whole month.
Find the day of the week where sales are a maximum and the day of the week where sales are a minimumDeclare an array of 7 double values, call it sales.
Fill the array with the sales of the 7 days of the week.
Print all elements in the array.
Find the total and the average sales for the whole week.
Find the day with the maximum sales and the day with the
minimum sales of the week.
Declare a 2D array of 4 rows and 7 columns, call it
monthly sales.
Fill the array with the sales in 4 weeks of a month.
Find the total and the average sales of each week.
Find the total and the average sales per day for the whole
month.
Find the day of the week where sales are a maximum and
the day of the week where sales are a minimum
 Declare an array of 7 double values, call it sales. Fill

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!