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
Bu iş için 19 freelancer ortalamada $31 teklif veriyor
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
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.
Hey A C++ expert programmer is here I have good advanced expertise in C++ Programming I can write the C++ program for you as per your need Feel Free to message me Regards Relevant Skills and Experience C++ Programmin Daha Fazla
Dear Client, I have read and understood your project requirements and I'm very interested to work on your project. I have experience of programming in C, C++ and Java. Relevant Skills and Experience I have coded many Daha Fazla
expert C++ Programming Relevant Skills and Experience C++ Programming Proposed Milestones $10 USD - budget
Hi, dear. i can do it by using c++ 2015. i have many experience in c++ programming. Relevant Skills and Experience c++ Proposed Milestones $25 USD - full
dear, sir, i saw your project description carefully. i can do it on time with high level. i am new freelancer,but i have many experience in this filed same as your pro. Relevant Skills and Experience My aim is not mon Daha Fazla
I wil also explain it to you Relevant Skills and Experience c++ Proposed Milestones $30 USD - Project
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
I will complete this in 1 day Relevant Skills and Experience I am working in c++ since 3 years Proposed Milestones $15 USD - complete