Question: Corporate Sales Data Problem Write a C++ program that uses a structure to store the following data on a company division: Division Name (such as
Corporate Sales Data Problem
Write a C++ 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 fours variables for this structure. Each variable should represent one of the following divisions: East, West, North, and South. The user should be asked for the four quarters' sales figures for each division. Each division's total and average should be calculated and stored in the appropriate member of each input structure. These figures should then be displayed on the screen. You should prevent the user from entering negative numbers. Use the following data from first to the fourth quarter for divisions as shown below:
East: 15000, 25000, 21000, 33000
West: 16000, 22000, 16000, 17000
North: 7500, 11300, 12100, 19100
South: 3300, 4500, 7700, 9900
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
