A company has four salespeople who sell five different products (1 to 5). Once a day, each salesperson passes in a slip for each different type of product sold. Each slip contains the following:
a) Basic information of any employee in the company, such as employee ID, lastname, firstname,
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 is available. Write a program that will read all the information for last month’s sales (one salesperson’s data at a time) and summarize the total sales by sales person by product. All totals of sales should be stored in a dynamically allocated two-dimensional array. 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 salesperson for last month. Your tabular printout should include these totals to the right of the totaled rows and to the bottom of the totaled columns.
• Design a base class named Employee and derive a child class named Salesperson that additionally stores a month’s slips.
• Apply polymorphism to print sales for each salesperson.
• Use rand() to create sales slips so that a testing of your program can be done without any user input.
25 freelancers are bidding on average $40 for this job
I look forward to discuss further details about the project Relevant Skills and Experience proven track record on this site Proposed Milestones $55 USD - milestone
Hello, i am expert in java/c/c++ and i can deliver any task in least time and least payments. Pm me for further details. Thank You! Stay tuned, I'm still working on this proposal.
I can complete writing code for this in 12 hours time. Message me if you'd want me to start working on this project :) Relevant Skills and Experience . Proposed Milestones $50 USD - project milestone
Hello, I'm a C++ programmer interested in this project. Do you want this assignment to be completed using unix or windows ? Relevant Skills and Experience C++ Proposed Milestones $35 USD - C++ assignment