Question: 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

 Please write the code in java with comments if possible, and

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!