Question: 7. Quarterly sales statistics Write a program that lets the user enter four quarterly sales figures for six divisions of a company. The figures should
7. Quarterly sales statistics Write a program that lets the user enter four quarterly sales figures for six divisions of a company. The figures should be stored in a two-dimensional array. Once the figures are entered, the program should display the following data for each quarter: Alistofthesalesfiguresbydivision Eachdivisionsincreaseordecreasefromthepreviousquarter(thiswillnotbedisplayed for the first quarter) Thetotalsalesforthequarter Thecompanysincreaseordecreasefromthepreviousquarter(thiswillnotbedisplayed for the first quarter) Theaveragesalesforalldivisionsthatquarter Thedivisionwiththehighestsalesforthatquarter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
