Skip to content

A life insurance premium calculator written in Ruby using Object-Oriented Design.

Notifications You must be signed in to change notification settings

waihon/premium-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Premium Calculator

Input

  1. Gender
  2. Date of Birth
  3. Smoking Status
  4. Coverage Amount

Formula

Premium Amount = Coverage Amount x Per Dollar Premium Rate

Per Dollar Premium Rate is retrievable from a premium rate table based on the following factors:

  1. Gender
  2. Age Next Birthday
    • Derived from Date of Birth
  3. Mortality Class
    • Derived from Smoking Status

Commands

  1. Run tests
    • bundle exec rake test

About

A life insurance premium calculator written in Ruby using Object-Oriented Design.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages