Write application that keeps track of the total sales


Problem

Write application that keeps track of the total sales of the "Thompson Manufacturing" Company that has 3 salespersons. The following products are sold be each salesperson.

(Employee ID)
[Product ID]
Susan Parker(15)-

Table[24] {$50.24}, Couch[1]{$500.99}, Recliner[9]{$174.99}
Paul Smith(2)-
Lamp[2]{$10.50}, Bookshelf[31]{$73.45}
Peter Parker(28)-
Desk[8]{$125.99}, TV Stand[67]{$82.99}, File Cabinets[16]{$24.99}

The application runs repeatedly, asking user if new sales information should be entered (i.e., affirmative reply continues loop). Within each iteration, the user is prompted for the employee's ID and then the product ID, and the number of products for each of their items (i.e., shown in table).

The salary for the salespeople is based on $750 and 15% commission on total sales.

salary = 750 + (0.15 * (total Sales))

At the end of each iteration, a message summarizing the total sales for that person must be displayed as follows, e.g.

"Susan's total sales were $970.00 for a salary of $650.50"

At program termination the application must display the total of all sales and the name of the salesperson with the highest total sales amount.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Write application that keeps track of the total sales
Reference No:- TGS03232679

Expected delivery within 24 Hours