Write a program will have a structure that holds data

Assignment Help Programming Languages
Reference no: EM131660764

Assignment: Corporate Sales Data

This program will have a structure that holds data about each division of a corporation. This structure will have a string object that holds the division's name, 4 doubles that hold the sales totals for each quarter. The structure will also have two other doubles, one for the annual sales and the other will hold the average of the quarter sales. The program should use four variables (instances) of this structure. Each variable should represent one of the following corporate divisions: East, West, North, South. The user should be asked for the four quarters' sales figures for each division. Each division's total and average sales should be calculated and stored in the appropriate member of each structure variable. The output of the program will be all the figures in the structures. Validation: Do not accept negative numbers for any sales figures.

• Program must have the following functions

o void DisplayCorpInformation(const Division& east, const Division& west, const Division& north, const Division& south);
o void FindTotalAndAverageSales(Division& div);
o void GetDivisionSales(Division& div);

• The input should look like this screen shot.
• The output should look like this screen shot.

Attachment:- Screen-Shot.pdf

Reference no: EM131660764

Questions Cloud

Typical equity section of the firm balance sheet : A typical equity section of the firm's balance sheet consists of three sections which are common stock outstanding
Examine legal requirements for managing patient information : Examine legal requirements for managing patient information, health information documentation, the release of information, and electronic health records.
Describes for saudi arabian organizations : Analyzes the outcomes AlShathry describes for Saudi Arabian organizations and how productivity is impacted - Current sources are those published
Describe and discuss the performance of senior management : Describe and discuss the performance of senior management and other employees in your organisation
Write a program will have a structure that holds data : Write a program will have a structure that holds data about each division of a corporation. This structure will have a string object.
Discuss epidemiological data of population : Implementation of strategies of the CHN and three levels of prevention
Deriving annual cash flow streams : If cash, $50,000, is used to purchase an asset and other cash activities in the year net out to $20,000, what value would the cash stream for that year be?
What is the appropriate amount for harry putts : What is the appropriate amount for Harry Putts to report for these investments on the December 31, 2014, balance sheet
Discuss all the voting techniques : Voting Techniques. Algonquin Corp. has issued and has outstanding 100,000 shares of common stock. Four stockholders own 60,000 of these shares.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd