helo..i have a problem with my system.. i have try many time and i cannot solve the problem..here is my question
Use one dimensional array to solve the following problem: A company pays its salesperson on a commission basis. The salesperson receives RM200 per week, plus 9% of their gross sales for that week. For example, a salesperson who grosses RM5000 in sales in a week receives RM200 plus 9% of RM5000, or a total of RM650. Write a program (using an array of counters) that determines how many of the salesperson earned salaries in each of the following ranges (assumes that each salesperson’s salary is truncated to an integer amount):
A) RM200-RM299
B) RM300-RM399
C) RM400-RM499
D) RM500-RM599
E) RM600-RM699
F) RM700-RM799
G) RM800-RM899
H) RM900-RM999
I) RM1000 and over
please help me.. the output should be like attachment