{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Program2PayrollSp06

# Program2PayrollSp06 - CIS 120 PROGRAMMING ASSIGNMENT 2...

This preview shows pages 1–2. Sign up to view the full content.

CIS 120 PROGRAMMING ASSIGNMENT 2 Sequence & Selection Control Structures, Input/Output, and Mathematical Operations Due: Monday, February 13 You have been hired to write a program that will compute and display the weekly gross pay and the estimated annual gross pay (based on weekly pay) of an hourly employee, the state and federal taxes to be taken out based upon the income tax tables below, and the net pay (weekly and estimated annual) for that person. The employees are paid time and a half (1.5 times their hourly wage) for all time worked over 40 hours in a week. The user should input the person’s hourly wage and the number of hours worked that week. Gross pay is the amount of money a person would make with no taxes taken out, and the net pay is the amount that the person gets paid after taxes. Federal tax is calculated by using the following table: Federal Income Tax Table Tax Bracket Tax Percent \$0.00 - \$2,000.00 0% \$2,000.01 - \$10,000.00 10% \$10,000.01 - \$30,000.00 15% \$30,000.01 - \$65,000.00 25% \$65,000.01 + 33% State tax is calculated by using the following table: State Income Tax Table

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}