Write a program will have a structure that holds data about


Assignment: Corporate Sales Data

This program will have a structure that holds data about each division of a corporation. This structure will have a string object that holds the division's name, 4 doubles that hold the sales totals for each quarter. The structure will also have two other doubles, one for the annual sales and the other will hold the average of the quarter sales. The program should use four variables (instances) of this structure. Each variable should represent one of the following corporate divisions: East, West, North, South. The user should be asked for the four quarters' sales figures for each division. Each division's total and average sales should be calculated and stored in the appropriate member of each structure variable. The output of the program will be all the figures in the structures. Validation: Do not accept negative numbers for any sales figures.

• Program must have the following functions

o void DisplayCorpInformation(const Division& east, const Division& west, const Division& north, const Division& south);
o void FindTotalAndAverageSales(Division& div);
o void GetDivisionSales(Division& div);

• The input should look like this screen shot.
• The output should look like this screen shot.

Attachment:- Screen-Shot.pdf

Solution Preview :

Prepared by a verified Expert
Programming Languages: Write a program will have a structure that holds data about
Reference No:- TGS02456295

Now Priced at $35 (50% Discount)

Recommended (93%)

Rated (4.5/5)