Question: ( Sales Commissions ) Use a one - dimensional array to solve the following problem. A company pays its salespeople on a commission basis. The

(Sales Commissions) Use a one-dimensional array to solve the following problem. A company pays its salespeople on a commission basis. The salespeople receive $100 per week plus 10% of their gross sales for that week. For example, a salesperson who grosses $5000 in sales in a week receives $100 plus 10% of $5000 for a total of $600.
An intern salesperson is a student from TCC learning sales. Any salesperson with sales less than $100 only gets a base salary of $50 plus 10% commission. For example, a salesperson who grosses $50 in sales in a week receives $50 plus 10% for a total of $55.
Write a C program (using an array of counters) that determine how many salespeople earned salaries in each of the following rangesassume that each sales-persons salary is truncated to an integer amount:
$00099
$100199
$200299
$300399
$400499
$500599
$600699
$700799
$800899
$900999
> $1000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!