2D PROGRAMProficient (4 points): Complete NaturalPine by the end of Cycle 2, demonstrating your formatting standards and coding standards clearly and successfully. Below Basic (2 points): Attempt some of NaturalPine by the end of Cycle 2. |
|
NaturalPine
The Natural Pine Furniture Company has recently hired you to help them convert their antiquated payroll system to a computer-based model. They know you are still learning, so all they want right now is a program that will print a one-week pay report for an employee, plus a summary.
Input for each employee is as follows:
~ Employee’s initials
~ Number of hours worked
~ Hourly rate of pay (in dollars)
You should use the following withholding info:
~ Federal withholding tax rate: 18% off total salary
~ State withholding tax rate: 4.5% off total salary
~ Health Insurance: $25.65 per employee
~ Union Dues: $7.85 per employee
Output a summary report for all employees should look like this, using left-alignment to “tab” out the rows as shown below in the test data. YES--I do want to see the dollar signs!
TEST DATA
Input Values:
Employee: JTM
Hours Worked: 40
Hourly Rate: $9.75
Output: Shown to the right...
The Natural Pine Furniture Company has recently hired you to help them convert their antiquated payroll system to a computer-based model. They know you are still learning, so all they want right now is a program that will print a one-week pay report for an employee, plus a summary.
Input for each employee is as follows:
~ Employee’s initials
~ Number of hours worked
~ Hourly rate of pay (in dollars)
You should use the following withholding info:
~ Federal withholding tax rate: 18% off total salary
~ State withholding tax rate: 4.5% off total salary
~ Health Insurance: $25.65 per employee
~ Union Dues: $7.85 per employee
Output a summary report for all employees should look like this, using left-alignment to “tab” out the rows as shown below in the test data. YES--I do want to see the dollar signs!
TEST DATA
Input Values:
Employee: JTM
Hours Worked: 40
Hourly Rate: $9.75
Output: Shown to the right...