|
-
Mar 29th, 2009, 07:13 PM
#1
Thread Starter
Lively Member
I don't understand the question
 
I have a program that is suppose to give out an empolyees income and tax deductions
- to calculate the taxes
1)Local tax is 1.15% of the first $45,000 earned.
2)Federal tax withheld is computed by taking gross pay per pay period minus $15.00 for each dependent time 10% of yearly income projected to be between $0-$20,000, 20% of yearly income projected to be between $20,000-$40,000, and 30% of yearly income progected to be over $40,000.
3)State tax withheld is 5% of projected income between 0-$30,000, and 10% over $30,000.
4)Over-time is computed as time-and-a-half over 40 hours per week.
the output should look like this
Employee: Hector Giron
Hours worked: 55.50
Hourly rate: $14.50
Gross Wages $917.13
Current | yr. to date
Federal $61.64 | $6271.64
State $91.71 | $2254.71
Local $2.50 | $517.50
Total Deductions $355.85
Net Pay $561.28
According to the question the employee's local tax is $2.50. But When I calculate the local tax the answer is different.
This is how I do it.
14.50 * 55.50 = 804.75 * 0.0115 (1.15%)=9.254625 and not $2.50 
Can anyone explain to me how they calculated these numbers.?
-
Mar 30th, 2009, 11:10 AM
#2
Re: I don't understand the question
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Mar 30th, 2009, 11:26 AM
#3
Re: I don't understand the question
-
Mar 30th, 2009, 12:05 PM
#4
Re: I don't understand the question
reads like an exercise in a book... I'm not sure how they arrived at 2.5 either.... but just so you know... while this is right: 14.50 * 55.50 = 804.75 ... it doesn't match the gross income either ... it needs to be (14.50 * 40) + (21.75 * 15.5) ...the first calculation is straight time, the second is the overtime. Which gives the correct Gross Pay result of 917.13. Still don't see how 2.50 is calculated... even after the exemptions are taken out.
-tg
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|