Question: NO Functions NO arrays, apply nested structures Submit Source code, design, output Corporate Sales Data Write a program that uses a structure to store the

NO Functions NO arrays, apply nested structures

Submit Source code, design, output

Corporate Sales Data

Write a program that uses a structure to store the following data on a company

division:

Division Name (such as East, West, North, or South)

First-Quarter Sales

Second-Quarter Sales

Third-Quarter Sales

Fourth-Quarter Sales

Total Annual Sales

Average Quarterly Sales

The program should use four variables of this structure. Each variable should represent

one of the following corporate divisions: East, West, North, and South. The

user should be asked for the four quarters sales figures for each division.

also for final closing date (date nested structure)

Each

divisions total and average sales should be calculated and stored in the appropriate

member of each structure variable. These figures should then be displayed on the

screen.

Input Validation: Do not accept negative numbers for any sales figures.

submit:

source code, output, design

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!