Write a program will use a structure to store the given data

Assignment Help Programming Languages
Reference no: EM131310359

Write 2 programs:

One program will use a 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 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 by the first program. 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 the divisions

The highest and lowest quarters for the corporation

Input Validation: Do not accept negative numbers for any sales figures.

Reference no: EM131310359

Questions Cloud

Describe and illustrate an integrated service provider : Compare and contrast anticipatory and response-based business models. Why has responsiveness become popular in supply chain collaborations?
Define and illustrate cash to cash conversion : Define and illustrate cash-to-cash conversion, dwell time minimization, and cash spin. How do supply chain strategy and structure impact each?
Analyze organizational limitations and how addressed : Analyze organizational limitations and how those will be addressed.Include justification for each recommendation for forecasting needs, considering corporate culture, diversity, Affirmative Action issues, and any strategic steps that should be con..
What is the linux equivalent : You need to compare and contrast for example Windows with Linux. Compare the user interface. Contrast the file system structure. If you "ipconfig" in Windows what is the Linux equivalent?
Write a program will use a structure to store the given data : One program will use a 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).
Why are market distribution operation typically more erratic : Discuss and elaborate on the following statement: "The selection of a superior location network can create substantial competitive advantage."
Total number of employees assigned to a specific department : A public function called GET_DEPARTMENT_COUNT to retrieve the total number of employees assigned to a specific department. The function should accept the department ID as a parameter and return the number of employees in that department. Add error..
Describe the logistics value proposition : Describe the fundamental similarities and differences between procurement, manufacturing support, and market distribution performance cycles as they relate to logistical control.
Write java program that generates three-digit random number : Write a Java application that generates a 3-digit random number 100 times. Display the output for each of the generated numbers and the sum of all 100 numbers.

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