# Cis 112 payroll program pseudocode and qbasic

The teacher wants the following information on the report:

Hours worked for the week

The teacher would also like to see the following summary on the report:

total federal tax deduction

RULES and GUIDELINES

Time and a half is paid for hours worked in excess of 40

\$38.46 is allowed as nontaxable income for each dependent claimed

Ensure you have an “EOF end-of-file flag at the end of your data file for loop control

you must process a minimum of five records

you must have modular concepts incorporated in your program logic

Input: Each Employee record includes the following data

number of hours worked for the week

Calculations

Straight time pay = hours worked 40 and under * hourly rate

overtime pay = hours worked over 40 * (hourly rate * 1.5)

gross pay = straight time pay + overtime pay

Federal tax withholding = (gross pay – (38.46 * number of dependents)) * tax rate

Total net pay= gross pay – federal tax withholding

The title of the report is Kyles Transportation Company and could you also please do the code for the report so that the program will run in Qbasic or Microsoft QuickBASIC?

The teacher wants the following information on the report:

Hours worked for the week

The teacher would also like to see the following summary on the report:

total federal tax deduction

the picture is of what it needs to look like at the end of the program