Cis 112 payroll program Pseudocode and Qbasic
TopsolutionsThe teacher wants the following information on the report:
- Employee Name
- Hourly rate
- Hours worked for the week
- Straight time pay
- overtime pay
- Gross pay
- Federal Tax Reduction
- Net Pay
The teacher would also like to see the following summary on the report:
- Total straight time pay
- total overtime pay
- total gross pay
- total federal tax deduction
- total net pay
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
- Name
- hourly rate of pay
- number of hours worked for the week
- number of dependents
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:
- Employee Name
- Hourly rate
- Hours worked for the week
- Straight time pay
- overtime pay
- Gross pay
- Federal Tax Reduction
- Net Pay
The teacher would also like to see the following summary on the report:
- Total straight time pay
- total overtime pay
- total gross pay
- total federal tax deduction
- total net pay
the picture is of what it needs to look like at the end of the program
- 9 years ago
Purchase the answer to view it
- qbasicapplication_1.zip