Question: Define a method findUserPremium ( ) that takes two integer parameters as a person's coverage and the person's age, and returns the person's life insurance

Define a method findUserPremium() that takes two integer parameters as a person's coverage and the person's age, and returns the person's life insurance premium per month as an integer. The premium is returned as follows:
Cost per month
Coverage <62 years 62-80 years >80 years
<=20000304550
20001-60000606575
>60000808595
Ex: If the input is 1500061, then the output is:
30

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!