Use a one-dimensional array to solve thefollowing problem. A company pays its sa
ID: 3613082 • Letter: U
Question
Use a one-dimensional array to solve thefollowing problem. A company pays its salespeople on a commissionbasis. The salespeople each receive $200 per week plus 9 percent oftheir gross sales for that week. For example, a salesperson whogrosses $5000 in sales in a week receives $200 plus 9 percent of$5000, or a total of $650. Write a program (using an array ofcounters) that determines how many of the salespeople earnedsalaries in each of the following ranges (assume that eachsalesperson's salary is truncated to an integer amount):
$200$299
$300$399
$400$499
$500$599
$600$699
$700$799
$900$999
$1000 and over