Question
C++ Corporate Sales Data Write a program that uses a structure to store the following data on a company division: Division Name (such as East,
C++
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. 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.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started