how can I write a program that do the following. I have tried but mine is not even working. please assist me
CIC Insurance Company specializes in selling health and automobile insurance covers. In order to motivate its agents, on top of basic pay, they are paid commission based on monthly premium sales as follows:
Premium Sales Bonus rate
10,000 – 50,000 2%
50, 001 – 100, 000 3%
100, 000- 150, 000 5%
150, 001– 200, 000 7%
Above 200, 000 9%
Required
a) Use a flowchart and pseudocode, design an algorithm, for a program that would be used to determine the gross pay for each sales agent in CIC.
b) Write a C program that takes Salesperson details such as Payroll number, Surname, Other Names, Basic Salary and monthly sales and processes Gross pay and netpay. Note that net pay is gross pay less 30% income tax.