Program requirements: A company wants to know the percentage of total sales and total expenses attributable to each salesperson. Each person has a pair of data lines. The first line contains his or her name, last name first. The second line contains his or her sales (int) and expenses (float). Write a program that produces a report with a header line containing the total sales and total expenses. Following this header should be a table with each salesperson's name, percentage of total sales, and percentage of total expenses, sort by salesperson's name. Use the unsorted list class, modifying it as follows. ItemType should be a struct type that holds one slaesperson's information. Therefore, the list is a list of structs. Some member functions of the list class must be modified to accomadate this ItemType. For example, comparisons invloving list components must be changed to comparisons involving members of list components (which are structs). Also, include a Component member function in your list class to allow the client code to access components of the list.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased. 4) Please include comments, so I will know what is what.
## Platform
All I need is the source code so that I can compile it and rearrange it in my Microsoft Visual C++ 6.0 environment. I will be submitting the program as an attachment in an e-mail.