Question: C Programming #include #include Corporate Sales Data Report Write a program that read creates a structure for a companys divisions. The structure should have: Division
C Programming
#include
#include
Corporate Sales Data Report
Write a program that read creates a structure for a companys divisions. The structure should have:
Division name (North, South, East, West, and Central)
Quarter (1, 2, 3, or 4)
Quarterly sales
Your job is to write a program that will create a two-dimensional array of 5 rows (divisions) and 4 columns (quarters). The program should ask the user to enter in all four quarters of sales for each division. Output the information to a file that also calculates total sales for each division, as well as which division had the highest quarterly sales (and what quarter) and which had the highest sales amount for the year. All this will be written to a file with a header.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
