Slips for each different type of product sold

Assignment Help Basic Statistics
Reference no: EM132002866

Deitel's How to Program C

Use a double-subscripted array to solve the following problem. A company has four salespeople (1 to 4) who sell five different products (1 to 5). Each salesperson passes in slips for each different 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 Thus, each salesperson passes in between 0 and 5 sales slips per day. Assume that the information from all of the slips for last month are available. I need to write a program that reads all this information for last month's sales and summarize the total sales by salesperson by product. All totals should be stored in the two-dimensional array sales. After processing all the information for last month, print the results in tabular format with each of the columns representing a particular salesperson and each of the rows 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 salespersonfor last month. Your tabular printout should include these cross totals to the right of the totaled rows and to the bottom of the totaled columns.

Reference no: EM132002866

Questions Cloud

Building class with the attributes : Demonstrate composition. Create .a Room class with the following attributes.
Construct a cash budget for the quarter : The Clancy Corporation is constructing its cash budget. Construct a cash budget for the quarter.
Evaluating the current ratio : Morgan's Industrial Park has total assets of $541,700, long-term debt of $201,400, total equity of $306,800, fixed assets of $469,200, and sales of $600,500.
Retrieved using the address operator : While researching C++ I discovered every variable is assigned a memory location whose address can be retrieved using the address operator &.
Slips for each different type of product sold : Use a double-subscripted array to solve the following problem. A company has four salespeople (1 to 4) who sell five different products (1 to 5).
Find what is the required return using given information : Moraine, Inc., has an issue of preferred stock outstanding that pays a $3.55 dividend every year in perpetuity. If this issue currently sells for $91 per share.
Net present value of potential capital investment project : You determined that the net present value of a potential capital investment project is $(742) when the WACC is 10.5%.
Example linear search algorithm : However please explain in great detail using fully compile-able C++ source code in the example Linear Search Algorithm and its inefficiency
Describe the various measures of yield and return : Describe the various measures of yield and return and explain how these standards of performance are used in bond valuation;

Reviews

Write a Review

Basic Statistics Questions & Answers

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

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