Explain different kind of product sold

Assignment Help Programming Languages
Reference no: EM1383270

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

a) Salesperson number
b) Product number
c) Total dollar value of that product sold of that day

Therefore, each salesperson passes in between 0 and 5 sales slips per day. suppose that information from all of slips for last month is available. Write down program which will read all this information for last month's sales and sum-up total sales by salesperson by product. All totals must be stored in two-dimensional array sales. After processing all information for last month, print results in a tabular format with each of columns representing a particular salesperson and each rows representing particular product. Cross total each row to get total sales of each product for last month; cross total each column to get total sales by salesperson for last month. Tabular printout must include these cross totals to right of totaled rows and to bottom of totaled columns.

Reference no: EM1383270

Questions Cloud

What is the acceleration of the car at point a : A cylinder (I = MR^2/2) is rolling along the ground at 7m/s. It comes to a hill and starts going up. Assume no losses to friction, how high does it get before it stops.
Program to calculate word ladders where single-character : Write down a program in C++ to calculate word ladders where single-character substitutions have the cost of 1, and single-character additions or deletions.
What is the value of each unit : A diver 32.0 m deep in 8.00 °C fresh water exhales a 1 cm diameter bubble. What is the bubble's diameter just as it reaches the surface of the lake, where water temperature is 25°C? Hint: suppose the air bubble is always in thermal equilibrium wit..
What acceleration would be produced by the same force : A barge has vertical sides and a flat bottom of 320 ft^2 area. when partially filled, the barge is immersed in fresh water to a depth of 2 ft. upon removal of the load the barge rises 16.0 in.
Explain different kind of product sold : Use two-dimensional array to solve following problem. Company has four salespeople(1 to 4) who sell five different products (1 to 5). Once day, each salesperson passes slip for each different kind of product sold.
What is the minimum coefficient of friction : Suppose the highway is icy and the coefficient of friction between the tires and pavement is only one-third what you found in part (1). What should be the maximum speed of the car so it can round the curve safely.
Elucidate how many hours of overtime pay : If you are a non-exempt employee covered by the Fair Labour Standards Act, elucidate how many hours of overtime pay, if any, would you be entitled to? Illustrate what would be the rate.
Manages the warehouse inventory for athleticks : Mr. Dave Jones manages the warehouse inventory for Athleticks, a distributor of sports watches. From his experience, Mr. Jones knows that the PR-5 jogging watch has an average daily demand of 100 units and a performance cycle of 8 days.
What is the minimum uncertainty in its position : Coherent light with wavelength 603 passes through two very narrow slits, and the interference pattern is observed on a screen a distance of 3.00 from the slits.

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