谁能帮我解决一下这个问题,谢谢、
3. A large chemical company paysits sales staff on a commission basis. They receive £200 per week plus 9% oftheir gross sales for that week. For example, someone who sells £5000 ofchemicals in one week will earn £200 plus 9% of £5000, a total of £650. Developa C program that will input each salesperson’s sales for the previous week, andprint out their salary. Process one person’s figures at a time.
Enter sales in pounds (-1 to end): 5000.00
Salary is: 650.00
Enter sales in pounds (-1 to end): 00.00
Salary is: 200.00
Enter sales in pounds (-1 to end): 1088.89
Salary is: 298.00
Enter sales in pounds (-1 to end): -1