Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write the code in java with comments if possible, and kindly upload the text instead of the code image. Thanks Add comments and tax

image text in transcribed

Please write the code in java with comments if possible, and kindly upload the text instead of the code image. Thanks

Add comments and tax logic worker type houlry salary 1099 taxes are paid in brakets by all workers except 1099 workers less than 25,000 a year rate 10% taxs 25,001 - 35,000 a year rate 15% taxs 35,001 - 95,000 a year rate 25% taxs greater than 95,001 rate 35% taxs rate: $15.00 Hours week 1 worked: 40 Hours week 2 worked: 45 Total hours = week 1 + week 2 Overtime = total hours - 80 yearly salary = (rate * 40) * 52 family size = 1 If salary if medical selceted if family size > 1 if yearly salay >= 35,000 pay = (total hours * rate) - 500 else pay = ((80 * rate) + (Overtime * (rate * 1.5))) - 500 else if yearly salay >= 35,000 pay = (total hours * rate) - 100 else pay = ((80 * rate) + (Overtime * (rate * 1.5))) - 100 else if yearly salay >= 35,000 pay = total hours * rate else pay = (80 * rate) + (Overtime * (rate * 1.5)) else if Total hours > 80 Add comments and tax logic worker type houlry salary 1099 taxes are paid in brakets by all workers except 1099 workers less than 25,000 a year rate 10% taxs 25,001 - 35,000 a year rate 15% taxs 35,001 - 95,000 a year rate 25% taxs greater than 95,001 rate 35% taxs rate: $15.00 Hours week 1 worked: 40 Hours week 2 worked: 45 Total hours = week 1 + week 2 Overtime = total hours - 80 yearly salary = (rate * 40) * 52 family size = 1 If salary if medical selceted if family size > 1 if yearly salay >= 35,000 pay = (total hours * rate) - 500 else pay = ((80 * rate) + (Overtime * (rate * 1.5))) - 500 else if yearly salay >= 35,000 pay = (total hours * rate) - 100 else pay = ((80 * rate) + (Overtime * (rate * 1.5))) - 100 else if yearly salay >= 35,000 pay = total hours * rate else pay = (80 * rate) + (Overtime * (rate * 1.5)) else if Total hours > 80

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Moving Objects Databases

Authors: Ralf Hartmut Güting, Markus Schneider

1st Edition

0120887991, 978-0120887996

More Books

Students also viewed these Databases questions

Question

How do media shape our thinking?

Answered: 1 week ago