Create a payroll program named CalcPay that allows the user to enter two double values namely hours worked and hourly rate. After the user enters the rate and hours, the program should calculate the gross pay.
Compute federal withholding tax which is subtracted from gross based on the following table:
Hints: Use Applets (100pts) Use methods as deemed appropriate. 0 to 99.99 6% 100.00 to 299.99 12% 300.00 to 599.99 18% 600.00 and up 21%