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 double values, call it sales.
Fill the array with the sales of the 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 D array of rows and columns call it monthlysales.
Fill the array with the sales in 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 double values, call it sales.
Fill the array with the sales of the 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 array of rows and columns, call it
monthly sales.
Fill the array with the sales in 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
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
