Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you provide a step by step solution to chapter 12, PC 12, Corporate Sales Data Input. I'm are using Dev C++ Bloodshed. The solution

Can you provide a step by step solution to chapter 12, PC 12, Corporate Sales Data Input. I'm are using Dev C++ Bloodshed. The solution must come from the material we have covered in edition 8 up to chapter 13. this is the question:

Chapter 12 Program Challenge 12 is built from Program Challenge 11 above it.

11. Corporate Sales Data Output

Write a program that uses a debt or structure to store the following data on a company division.

Division name (such as East, West, North, or South)

Quarter (1, 2, 3, or 4)

Quarterly sales

The user should be asked for the four quarters sales figures for East, West, North, and South divisions. The data for each quarter for each division should be written to a file.

Input validation: do not accept negative numbers for any sales figures.

12. Corporate Sales Data Input

Write a program that reads the data created by the program in the programming challenge 11. The program should calculate and display the following figures.

Total corporate sales for each quarter

Total yearly sales for each division

Total yearly corporate sales

Average quarterly sales for each division

The highest and lowest quarter for the corporation

Thank You

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

More Books

Students also viewed these Databases questions

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago