Question
A PAYROLL Program Inputs Employee Name, Number Of Hours Worked And Hourly Rate. Assume No More Than 100 Employees The Following Is A List Of
A PAYROLL Program Inputs Employee Name, Number Of Hours Worked And Hourly Rate. Assume No More Than 100 Employees The Following Is A List Of Variables And Constants Required By The Program - An End Of File Indicator A Counter For The Number Of Records Processed - FICA (Social Security) Rate Of 7 65% Federal Tax Rate Of 20% State Tax Rate Of 5% Gross Pay For
ARE-THERE-MORE-RECORDS PIC X(3) VALUE \"YES\". 05 NUM-RECORDS-PROCESSED PIC 9(3) VALUE ZERO. 05 FICA-RATE PIC 9V9(4) VALUE 7.65. 05 FED-TAX-RATE PIC 9V9(2) VALUE 20. 05 STATE-TAX-RATE PIC 9V9(2) VALUE 5. 05 GROSS-PAY PIC 9(5)V9(2) 05 NET-PAY PIC 9(5)V9(2) WORKING-STORAGE SECTION 01 WORK-AREAS. 05 ARE-THERE-MORE-RECORDS PIC X(3) VALUE \"YES\". NUM-RECORDS-PROCESSED PIC 9(3) VALUE ZERO. 05 FICA-RATE PIC 9V9(4) VALUE 0.0765 05 FED-TAX-RATE PIC 9V9(2) VALUE 0.20. 05 STATE-TAX-RATE PIC 9V9(2) VALUE 0.05. 05 GROSS-PAY PIC ZZZZ9V9(2) 05 NET-PAY PIC ZZZZ9V9(2) 05
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started