Question: Write C++ program that uses array(s) to solve the following problem: A company has 10 salespeople who are paid on a commission basis. The salespeople
Write C++ program that uses array(s) to solve the following problem: A company has 10 salespeople who are paid on a commission basis. The salespeople receive $200 per week plus 9% of their gross sales for that week. For example, a salesperson who grosses $5000 in sales in a week receives: $200 + 0.9 x $5000 = $650. The program shall determine how many of the salespeople earned salaries in each of the following ranges (assume that each salespersons salary is truncated to an integer amount): $200 - $299, $300 - $399, $400 - $499, $500 - $599, $600 - $699, $700 - $799, $800 - $899, $900 - $999, $1000 and over.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
