question archive Create a payroll program named CalcPay that allows the user to enter two double valuesand a string namely hours worked, hourly rate and name
Subject:Computer SciencePrice:16.99 Bought3
Create a payroll program named CalcPay that allows the user to enter two double valuesand a string namely hours worked, hourly rate and name. After the user enters the rate, hours,and name the program should calculate the gross pay. Compute federal withholding tax which is subtracted from gross based on the following table: Hints: (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%. Create an ouput file named '"Payout" The file should include: Name, hours, rate, deduct, gross and net. You should also display the same using printf. Submit the program as an attachment
Please download the answer file using this link
https://drive.google.com/file/d/1j6TdQ3ebyYzBJn9XTWPehVzT5xKel3b8/view?usp=sharing