I have this urgent assignment. Can you all assist me please;
ABC Supplies sells computer parts and has hired you to design and write a program to monitor its salespersons sales each week. They currently have two salesperson employed.
At the end of the week each salesperson enters his/her name and the following details:
The number of Printers sold:
The number of Disc Drives sold:
The number of Scanners sold:
You are to generate the total sales for each salesperson and generate an overall total sales figure for the company for the week.
The company also want you to keep track of the salespersons’ weekly wages.
It pays its salespeople on a commission basis. The salespeople receive €200 per week plus 9% of their gross sales for that week. For example, a salesperson who sells €5000 worth of merchandise in a week receives €200 plus 9% of €5000, which is a total of €650 gross pay. If a salesperson sells more than €6000 worth of goods they receive a bonus of €50.00, which is added to their gross-pay.
The prices for the above merchandise are as follows:
Item Price
Printer €750
Disk Drive €199
Scanner €250
You are required to design, write and test a program that will output the following sales details
ABC Supplies Ltd.
The total sales for Salesperson A is XXXX
The gross pay for Salesperson A is XXXX
The total sales for Salesperson B is XXXX
The gross pay for Salesperson B is XXXX
The total company sales is XXXXX.