Project "pay1": Trivial Payroll Program, with overtime

DESCRIPTION:
Process the weekly payroll for each employee of a company.
For each employee, compute weekly pay amount and create a paycheck and a paystub .

INPUT:
Allow input of the following data for one employee:

EVENTS:
PAYCHECK:
		Whatever National Bank

	Pay to the order of John Doe
			the amount of $ 461.50 

OUTPUT:
When pay is computed for each employee, the program shall display a simulated paycheck, similar to the following.

Also display a report (or "pay stub"), that includes all of the information for this employee.
PAYSTUB:
Employee data:
	Employee ID:  9842
	Last name:    Doe
	First name:   John
	Hourly rate:  $ 10.00
	Pay code:     1
This week's payroll data:
	Hours worked: 44.1
	Gross pay:    $ 461.50 


CALCULATIONS:

GROSS PAY: The gross pay amount shall be calculated from the pay rate and the hours worked.
If the "pay code" is greater than one (exempt from overtime pay), multiply the hours worked by the hourly pay rate. However, if the "pay code" is 1 (or less), then all hours over 40 (per week) are paid at "time-and-a-half" (i.e. 1.5 times the hourly rate).


NOTE:   This version can be used by a "payroll clerk" to produce paychecks and paystubs for any number of employees from a weekly list of hours worked by each employee.

The next version of this project will include various "deductions", and also add one or more buttons to produce "reports", to be displayed in the same listbox that was used for "pay stub".

You will need to accumulate various counts, totals, and averages, such as the number of employees paid, the total number of hours worked, the total payroll amount for all employees paid, the average pay-per-hour, the percentage of non-exempt employees who who actually worked any overtime hours, etc., and other summary information, to be displayed in these reports.


Project "pay2": Payroll Program plus report
Modularize your code, so that tasks are performed only in subs and functions that are called by your event-handlers. Event handlers should do no input, output, nor computation.

Calculate Income Tax and FICA deductions, and subtract these from the net pay that appears on the paycheck. Use the "Single with no exemptions" table (5.5) for Income Tax, and use 15.3% of gross pay for the FICA amount.