by using the C++ codeblocks
Problem: Write a program for the accounting department of a production plant to process employees' weekly pay. For each employee, the user is required to enter three data items: an ID number, the hourly wage, the number of hours worked during a given week. Pay calculation is based on the following: Each employee is to be paid double for all hours worked in excess of 40 (e.g., if an employee worked 35 hours at $12.5/hour, his gross pay is 35 * $12.5 = $437.50; if an employee worked 42 hours at $12.5/hour, his gross pay is (40 * $12.5) + 2 * (2 * $12,5) = $550.0). A tax amount of 18% of gross pay will be deducted if the gross pay exceeds $1000 (e.g., a tax amount of gross pay $1550.00 is $1550.00 * 18% = $279.00 will be deducted to result in net pay $1550.00 - $279.00 = $1271.00. Otherwise, the tax amount will be 15% of gross pay (c.g., a tax amount of gross pay $850.00 is $850.00 15% - $127.50 will be deducted to result in net pay = $850.00 - $127.50 - $722.50. The program output should clearly show (with proper labels) the employee's ID number, hourly wage rate, number of hours worked, gross pay, tax amount, and net pay. The program should allow the user to continuously calculate employee payroll until the user decides to quit. The following is a set of test data for you to check if your program is running correctly. You should run your program with these test data to make sure it runs correctly before submitting your program: Employee ID Hourly Rate 15.75 15.00 13.25 14.75 Hours Worked 35.00 46.75 80.00 48.00 Gross Pay 551.25 802.50 1590.00 826.00 Tax Amount 82.69 120.38 286.20 123.90 Net Pay 468.56 682.12 1303.80 702.10 Style Requirements Your program should follow reasonable rules of style. In particular, you should pay attention to: Meaningful naming of variables and use of constants Proper declaration of variable data types Proper indentation: blocks of code should show correct indentation with aligned curly braces. Proper commenting on blocks of code Proper spacing: make good use of spaces to improve readability