Test

Page 1 of 1

1 Replies - 186 Views - Last Post: 23 October 2009 - 02:03 AM Rate Topic: -----

#1 chapuke  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 23-October 09

Test

Posted 23 October 2009 - 01:23 AM

use a two dimensional array with 4 row and 3 columns to solve the foolowing problem.
a company has 4 salesmen that sell 3 product. write a program that will read the total sales of each product sold by each salesperson. use main() to call getData () by sending the whole array. then, call another function called totalSalesbyPrerson() by sending a row of the array. Lastly, the main() call the last function called totalSalesbyProduct()...calculate the total sales by each product...


P1 P2 P3
salesmen 1 120 150 170
salesmen 2 50 30 120
salesmen 3 100 40 100
salesmen 4 200 100 30

Is This A Good Question/Topic? 0
  • +

Replies To: Test

#2 no2pencil  Icon User is online

  • Toubabo Koomi
  • member icon

Reputation: 5182
  • View blog
  • Posts: 26,889
  • Joined: 10-May 07

Re: Test

Posted 23 October 2009 - 02:03 AM

Dream.In.Code has a policy by which we prefer to see a good faith effort on your part before providing source code for homework assignments. Please post the code you have written in an effort to resolve the problem, and our members would be happy to provide some guidance. Be sure to include a description of any errors you are encountering as well.

Please post like this:

Thank you for helping us helping you.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1