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

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

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.
Expert Solution
steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY