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.
Hi There With 10 years of experience i am providing best services here on freelancer. thanks Relevant Skills and Experience C++ Proposed Milestones $30 USD - m
20 freelancers are bidding on average $30 for this job
I m soft engineer. I have read the description and I would like to work for you. For further details please inbox me. Thank you Relevant Skills and Experience C++ Proposed Milestones $25 USD - m
I always write on C++ for MCU. But your task easy and clear. Coud we go? Relevant Skills and Experience 5 years expirience in C++ Proposed Milestones $30 USD - for code
Hey there, I just read the requirement i am willing to do this project, pm me to discuss further. Thanks. ............ Relevant Skills and Experience C++, Visual Studio Proposed Milestones $25 USD - XYZ
Hi, I have read your project description. I can do your project wonderful. please discuss in chat. Relevant Skills and Experience C++ Programming Proposed Milestones $25 USD - m i
Hi Nice to meet you I have some experience in C/C++, C# You want MFC or Win32 programe? I can do your task in 1hour Best regards Stay tuned, I'm still working on this proposal.