Question: Programming language is C++ PA 8-1 (25 points) Extend the pay program from Module 7 (PA 7-1) with while or do-while loop that asks the
Programming language is C++

PA 8-1 (25 points) Extend the pay program from Module 7 (PA 7-1) with while or do-while loop that asks the user if they want to continue. Allow both upper and lower case responses. When the processing of employees concludes, show the Total Number of Employees Processed, Total Gross Pay, Total Tax, and Total Net Pay (gross pay - taxes). Process at least 3 employees DACodeBlocks-EPCodeBlock is program calculates the net pay for each emp loyee. At each prompt, enter the requested data Enter the pay rate: 6.45 Enter the number of hours worked: 42 Enter the employee code CA or B): a Enter the state code (Y or J):Y Regular Pay: 258.00 Overtime Pay: 19.35 Gross Pay: 277.35 19.41 ax: Net Pay: 257.94 Do you want to process another employee? (y): Y Enter the pay rate: 12.45 Enter the number of hours worked: 40 Enter the employee code (A or B):B Enter the state code (Y or 3): j Regular Pay: 498.00 Overtime Pay: Gross Pay: 0.00 498.00 0.00 ax: Net Pay: Do you want to process another employee?(y): y 498.00 Enter the pay rate: 15.60 Enter the number of hours worked: 32 Enter the employee code (A or B): A Enter the state code (Y or J): Regular Pay: 499.20 Overtime Pay: Gross Pay: 0.00 499.20 22.46 ax Net Pay: Do you want to process another employee? (y): n 476.74 Total number of employees processed 3 Total gross pay: 1274.55 Total tax: Total net pay: 1232.67 41.88
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
