Question: code in java, i can test on my own 2. Other deductions like Canadian Pension Plan (CPP), Employment Insurance, and health premiums computed according to

code in java, i can test on my own  code in java, i can test on my own 2. Other
deductions like Canadian Pension Plan (CPP), Employment Insurance, and health premiums computed

2. Other deductions like Canadian Pension Plan (CPP), Employment Insurance, and health premiums computed according to salary brackets. These include CPP (Canada Pension Plan) and EI (Em- ployment Insurance). CPP is 5.25% of the gross income (but to a maximum amount of $2,898.00). El is 1.58% of the gross income (but to a maximum amount of $856,36). In addition to the de- ductions above let us assume all employees (irrespective of their province of residence) are charged health premiums and that the premiums are based on the following rules: (a) If the taxable income is less than or equal to $22,000.00, the premium is $0.00 (b) If the taxable income is greater than $22,000.00 and less than or equall ng838,000.00, the premium is equal to the lesser of: (i) $300.00 and (ii) 6% of (taxable incolne - $22,000.00); (e) If the taxable income is greater than $38,000.00 and less than or equal to $50,000.00, the pre- mium is equal to the lesser of: (i) $450.00 and (ii) 300+ 6% of (taxable income - $38,000.00); (d) If the taxable income is greater than $50,000.00 and less than or equal to $74,000.00, the pre mium is equal to the lesser of: (i) $600.00 and (ii) 450 + 25% of (taxable income - $50,000.00); (e) If the taxable income is greater than $74,000.00 and less than or equal to $202,000.00, the pre- mium is equal to the lesser of: (1) $750.00 and (ii) 600 + 25% of (taxable income - $74,000.00): (f) If the taxable income is greater than $202,000.00, the premium is equal to the lesser of: (1) $900.00 and (ii) 750 + 25% of (taxable income - $ 202,000.00). > FirstName, LastName_Students firstName LastName_Studentib) Health Premium computeAmount CPP Java Eljava Government Tax.java Data Sciencejava HealthPremiumjava Quality Assurance java an.payroll D:WhersisakydeaProjects com 1 O/.../ LastName Studenti 7 package canadian.payroll; Wame_LastName Studenti Pjava 9 public class HealthPremiun extendo Doduction { SVReaderjava 10 atascience java 11 D public HealthPremium( Employee enployee suport employee ); X eduction java 14 15 public double computo Anount() { mployee java 16 spected Output.png 17 double income onployee.getIncone(); overnmentax java 18 //INSERT YOUR CODE HERE - Using the specification given on HealthPremium Health Premium Java 19 werallTaxjava 20 uality Assurance java 21 return 0.0; alaries.com 22 } axCategoryjava 23 axTestjava 24 utility.java public double getAmount() { 25 amount = computeAmount(); //computes the applicable CPP radianpayrollimi 26 amount = Math.round( amount 100.0 ) / 100.0; //rounding off to 2dp braries 27 return amount; and Consoles 28 29 } k Problems Terminal

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!