MotorSales Company

The MotorSales Company has 15 employees. The employees have an annual sale that usually

takes place in the last quarter of the year which includes October, November and December.

MotorSales has requested that you write a program that will help the user to calculate the

employees’ bonuses during the months of October, November and December. The program

should also display the total monthly sale, bonus amount, and each employee’s unique ID as

indicated in the table below. It should also display the bonus paid to all employees. The bonus

rate should be 15% if the employee has a total monthly sale of at least 7000; otherwise the

bonus rate should be 10%. Furthermore, the program should determine and display the lowest

sales amount during the month of December. The program should read all the values from the

keyboard. Display the employee’s unique number, total monthly sales and bonus amount in the

form of a table.

EMPLOYEE UNIQUE ID OCTOBER NOVEMBER DECEMBER

1023 2800 895 4712

1024 2560 4700 685

1025 2010 3240 1593

1026 693 4520 4000

1027 569 6700 3257

1028 3500 790 6120

1029 1890 7120 4310

1030 2400 4533 750

1031 4590 1900 563

1032 2000 412 6152

1033 725 789 4006

1034 690 1490 2045

1035 1500 5000 712

1036 1006 4796 960

1037 863 3470 1006

1038 4900 3678 520

×
New Download