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

  Scripting language programming in perl

course Scripting Language Programming,  Assignment   -  Perl,  ? Your coding style should conform to general Perl coding conventions. Your scripts should be clean, neat, and well-formatted (e.g. indention). Identifiers should also be properly name..

  Function to count number of times the given number occured

Write a main function to input 20 integers in the range of 1 to 6. Write a function to count the number of times the numbers 2 and 5 occur. The function should declare static variables count2 and count5.

  Formula translation

Write a c code that will evaluate the roots of a quadratic equation

  Write program-compute average using floating-point numbers

Write a program that will accept as input between 2 and 25 numbers and then calculate the average of the numbers. Make sure you use floating-point numbers in case the average is not a whole number.

  Display policy data after revisions have made

The day is not correct for the month (that is, between 1 and 31 for January, 1 and 29 for February, and so on), then set the month, day, and year to 0. Display the policy data after any revisions have been made.

  Create unix shell script to input number of hours worked

Create a Unix shell script to input number of hours worked and pay rate and compute the total pay, then the social security amount (assume 5%), then the net pay.

  Create class using static variable to store annual interest

Create class SavingAccount. Use a static variable annualInterestRate to store the annual interest rate for all account holders. Each object of the class contains a private instance variable savingsBalance indicating the amount.

  Develop logic for program to read customer records

Develop the logic for a program that reads in 100 customer records and stores the first and last name and total purchases in three parallel arrays.

  Creating method to union the interface for adt bag

Add method union to  interface BagInterface for ADT bag which returns as new bag the union of bag receiving call to method and bag which is the method's one argument.

  Write application that allows users to enter student id

Write an application that enables users to enter student ID and three exam scores. Provide a method to compute and return the overall exam average.

  Create xml document to mark nutrition facts for cookies

Create an XML document that marks up the nutrition facts for a package of Grandma White's cookies. A package of cookies has a serving size of 1 package and the following nutritional value per serving.

  Write the application using the one-dimensional array

Write the application using the one-dimensional array which inputs ten numbers from user, each number can be between and 100, inclusive.

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