write my assignment 7769

Salesperson Salary RangeSCENARIO:A company pays its salespeople on a commission basis. The sales workers each receive £200 per weekplus 9% of their gross sales for that week. Retail shop keepers receive 13% commission of their totalsale of the week; part time workers receive 10% of their gross sales for that week plus £150 per week.For example, a sales worker who grosses £5000 in sales in a week receives £200 plus 9 percent of £5000,or a total of £650. Write a program that determines how many of the salespeople earned salaries in eachof the following ranges (assume that each salesperson’s salary is truncated to an integer amount)a)£200–299b)£300–399c)£400–499d)£500–599e)£600–699f)£700–799g)£800–899h)£900–999i)£1000 and over• Use a one-dimensional as an array of counters in solving this problem• Use two programmer defined functions in solving this problem.• Prompt the user to Enter salesperson type a

 
"Not answered?"
Get the Answer