0

insurance calculator in javascript or JQuery

INPUT Name: Norman Gomes Gender: Male Age: 34 years Current health: Hypertension: No Blood pressure: No Blood sugar: No Overweight: Yes Habits: Smoking: No Alcohol: Yes Daily exercise: Yes Drugs: No OUTPUT Health Insurance Premium for Mr. Gomes: Rs. 6,856 BUSINESS RULES Base premium for anyone below the age of 18 years = Rs. 5,000 % increase based on age: 18-25 -> + 10% | 25-30 -> +10% | 30-35 -> +10% | 35-40 -> +10% | 40+ -> 20% increase every 5 years Gender rule: Male vs female vs Other % -> Increase 2% over standard slab for Males Pre-existing conditions (Hypertension | Blook pressure | Blood sugar | Overweight) - > Increase of 1% per condition Habits Good habits (Daily exercise) -> Reduce 3% for every good habit Bad habits (Smoking | Consumption of alcohol | Drugs) -> Increase 3% for every bad habit

17th May 2020, 5:43 AM
Niranjan Kumar
Niranjan Kumar - avatar
2 ответов
+ 2
niranjan kumar Share here whatever you did.
18th May 2020, 8:05 AM
A͢J
A͢J - avatar
+ 1
niranjan kumar First do self and show your attempts if getting any problem.
17th May 2020, 7:42 AM
A͢J
A͢J - avatar