Question
CProgramming
using Dev C ++
#include <stdio.h>
PLEASE NO math.h
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. Sample Program Run: sales foe 2 arter Enter sales for 3 quarter34500 Enter sales for 4 uarte 51500 Enter aales for the South Diviion sales for arter Ent@『 aa1e for 2 quart@r:22200 salens for 3 garter 23800 Enter sales for quarter Enter sa East Divisin sales for 2 quarter Enter sales for 29500 for uarter sales foe arter Entesr sal es for 1 quarter tor for Enter sales for 49 Ent@『 Ent顑『 aa1ea sa1e 2 quart@r:50 00 J quart@r: 48500 Sample File Output: Anual Sales Report for Divisions D4visi Jales 133000.00 134500.00 151500 00 135000.0o 132000-00 1280000 1245000 143000.00 150000.00 148500.00 145000-00 Mighest quartezly sales: Sorth division in quarter 4 at 353500.00 ivision Central
0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
CProgramming using Dev C ++ #include <stdio.h> PLEASE NO math.h Corporate Sales Data Report Write a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • C++ and Using Microsoft Visual Studio. Write 2 programs: One program will use a structure to...

    C++ and Using Microsoft Visual Studio. Write 2 programs: One program will use a structure to store the following data on a company division: Division Name (East, West, North, and South) Quarter (1, 2, 3, or 4) Quarterly Sales The user should be asked for the four quarters' sales figures for the East, West, North, and South divisions. The data for each quarter for each division should be written to a file. The second program will read the data written...

  • Directions: Create a structure that contains the following data: DivisionName First-QuarterSales Second Quarter Sales Third Quarter...

    Directions: Create a structure that contains the following data: DivisionName First-QuarterSales Second Quarter Sales Third Quarter Sales Fourth Quarter Sales Total Sales Average Sales Create an enumerated data type of {North,South,East,West} Create an array of this structure with one instance for each enumerated data type listed above. Write a C++ program that will create a menu driven program with the following options: Menu Options: A) Add Data B) Compute Total Sales and Avg Sales C) Display Data D) Division Highest...

  • guys need help please im super lost anyone save me do programming exercise top_div_array.cpp: Winning Division...

    guys need help please im super lost anyone save me do programming exercise top_div_array.cpp: Winning Division app (top_div.cpp) revisited to use arrays This is the same program done last week but using and passing arrays instead of individual variables. Start with the following file / cODE BELOW: // Name: top_div_array.cpp // Description: // This app inputs sales for four regional division and displays the highest. // To accomplish this, use two arrays of equal length - one for sales and...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT