The tabular output has to include these cross-totals

Assignment Help Computer Engineering
Reference no: EM1330153

Using a two-dimensional array to solve the following problem: A company has four salespeople (1 to 4) who sell five different products (1 to 5). Once a day, each salesperson passes in a slip for each type of product sold. Each slip contains the following:

a) The salesperson number

b) The product number

c) The total dollar value of that product sold that day

Also: Thus, each salesperson passes in between 0 and 5 sales slips per day. Assume that the information from all the slips for last month is available. Write an application that will read all this information for last month's sales and summarize the total sales by salesperson and by product. All totals should be stored in the two-dimensional array sales. After processing all the information for last month, display the results in tabular format, with each column representing a particular salesperson and each row representing a particular product. Cross-total each row to get the total sales of each product for last month. Cross-total each column to get the total sales by salesperson for last month. The tabular output should include these cross-totals to the right of the totaled rows and to the bottom of the totaled columns.

Reference no: EM1330153

Questions Cloud

Family first farm was founded in 2006 : Family First Farm was founded in 2006 by the Douglas family. Because it was a small family business, Oliver Douglas decided to keep things simple and operate as a sole proprietorship.
Specifying the copyright law : What is a "mash up" and is it allowed under present copyright laws?
Morgan-s re-design using the spider plant metaphor : How might Morgan's re-design using the spider plant metaphor relate to how decisions are made, sources and nature of conflict.
Explain orbitz internet site : Explain Orbitz Internet Site and Discuss the impact of legal and regulatory and or ethics issues
The tabular output has to include these cross-totals : Thus, each salesperson passes in between 0 and 5 sales slips per day. suppose that the information from all the slips for last month is available.
Is the subsiquent events cause the dollar to appreciate : Is the subsiquent events cause the dollar to appreciate or depreciate against the Euro.
Protecting intellectual property in film industry : How can a movie studio prevent plagiarism?
Economic risk of a nation by using a specific country : Explain what is meant by economic risk of a nation by using a specific country as an example.  Also how can economic risk in this country be anticipated?
Explain important information about e-marketing strategies : Explain Important information about E-Marketing Strategies and Explain a blurb about each of the following companies and their e-marketing strategies

Reviews

Write a Review

Computer Engineering Questions & Answers

  Handling the asset and threat

Propose the reasonable values for the items in risk register for this asset and threat, and offer justifications for your choices.

  Explain how a packet is encapsulated

Explain how a packet is encapsulated

  Developing the java program

Write down a program in java to input the basic salary of 15 persons. Each one of them receives 25% of basic as hra (house rent allowance), 15 % of the basic as conveyance and 10 % of the basic as an entertainment allowance.

  The whole scope of internet users are forced change ipv6

till the whole scope of Internet users are forced to change to IPv6 there would be no acceleration of its deployment. The old saying comes into the forum; why stop using something that you know works and you are happy with this

  Why organization that meets the company''s specifications

A software application has been delivered to your organization that meets the company's specifications. Using associated examples, describe problems which may arise when it is installed and used in your organization.

  Establish a formal evaluation criterion

Why would it be wise to build a formal evaluation criterion for a company to use when purchasing new hardware or software.

  Difference between microsoft office and microsoft windows

Which applications are you likely to make use in the course of taking classes online.

  Make a method to calculate the value of entire inventory

Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output should display the information one product at a time, including the item number, the name of the product, the number of units in..

  Anti-cyber squatting consumer protection act

Specify what does the Anti-cyber squatting Consumer Protection Act do? Explain how does this act cut down on the nuisance suits?

  What may be the penalty for which crimes

What may be the penalty for which crimes. Who should enforce these laws?

  Design and develop a program that creates a complete set

Design and develop a program that creates complete set of multiplication tables where both the multiplicand and the multiplier vary from 1 through 12. The table should display as 144 rows in the list view control.

  Technology assumption and analyzing the system

Which businesses and services would no longer be required if the perfect technology assumption were a reality for automobile? Explain how does the perfect technology assumption help with analyzing the system?

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