i'm having a problem with a homework question and i was hoping someone could give me a little help. Here it is:
6.10 Use a single-subscripted array to solve the following problem. A company pays its salespeople on a commission basis. The salespeople recieve $200 per week plus 9 percent of their gross sales for that week. For example, a salesperson who grosses $3000 in sales in a week recieves $200 plus 9 percent of $3000, or a total of $470. Write a C program (using an array of counters) that determines how many of the salespeople earned salaries in each of the following ranges (assume that each salesperson's salary is truncated to an integer amount):
9. $1000 and over
(end of problem)
Now either this problem is so simple and i'm not reading it right or i just don't have a clue! Any help would be great!