Create a payroll program named CalcPay that allows the user toenter Name, Hours, and rate. After the user enters the rate, hours,and name the program should calculate the gross pay. Computefederal withholding tax which is subtracted from gross based on thefollowing 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 andup 21%. Create an output file named ‘”Payout” The file shouldinclude: Name, hours, rate, deduct, gross and net. You are toprocess ten employees or stop the program by entering -999. Displaythe total amount of tax collected and the total
OR
OR