A company pays its employees as managers (who received a fixed weekly salary),hourly workers (who received a fixed hourly wage for up to the first 40 hours they work and "time and half"-i.e 1.5 times their hourly wage- for overtime hours worked), commisioned workers(who received shillings 250,000 plus 5.7% of their gross weekly hours)or pieceworkers (work received a fixed amount of money per item they produce-each piece worker in this company works only one type of time). Write a program to compute the weekly pay for each employee. You do not know the number of employees in advance. Each type of employee has his own pay code. The pay roll clerk should enter the appropriate facts that your program needs to calculate each employee's pay based on that employee's pay code.
Hints and suggestions
.You should allow the user to enter as many values as possible. This can be attained by providing an interface that picks the appropriate values and stores them in a multi-dimensional array.
Calculations can then be done on each value and the output displayed using a multi-line textbox.
Design an algorithm for the aplication.
*Use standard pseudo code. You can define any other words used.
*Clearly outline the processes you followed to develop your algorithms.
*Provide evidence of its correctness and completeness using trace tables.