Wao has several employees and requires a computer program. Inputs for each employee are: name, grade, region of residence, hours worked a month and distance in kilometres travelled a month from place...


Wao has several employees and requires a computer program. Inputs for each employee are: name, grade, region of residence, hours worked a month and distance in kilometres travelled a month from place of work. Outputs for each employee are: gross pay, tax and net pay.  Gross pay is the sum of basic pay, house allowance and mileage. Basic pay is the product of hours worked and wage rate. There are three grades of employees, A, B and C. Normal wage rate is sh. 650 per hour for Grade A, sh. 570 per hour for Grade B and sh. 480 per hour for Grade C.  For mileage, Grade A and B employees are paid at the rate of sh. 55 per kilometer while Grade C gets a fixed amount of sh. 8000 per month.  The minimum mileage paid to Grade A is 2000 per month. Region of residence could be Mash or Lux. Employees in Mash get house allowance of sh. 12000 per month. Employee in Lux gets house allowance that is 1.2 times that of employee in Mash. Employees who work for more than 180 hours a month is paid for the hours above the 180 at the rate which is 1.5 times the normal wage rate. Employees are taxed at the rate of 15% of gross pay for gross pay over and above sh. 33000 a month.  Net pay is gross pay less tax.



  • Draw a flow chart to depict the logic of the above system.

  • Draw a well labelled user interface for the above program. Given the following additional information with reference to the problem above:

  • Employee name and hours worked are to be captured through textboxes

  • Employee regions of residence are to be selected from radio buttons.

  • Employee grades are to be selected from combo box.

  • All outputs are to be displayed using textboxes.

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here