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
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