Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/waihon/premium-calculator
A life insurance premium calculator written in Ruby using Object-Oriented Design.
https://github.com/waihon/premium-calculator
Last synced: about 2 months ago
JSON representation
A life insurance premium calculator written in Ruby using Object-Oriented Design.
- Host: GitHub
- URL: https://github.com/waihon/premium-calculator
- Owner: waihon
- Created: 2021-01-02T06:45:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-17T13:49:39.000Z (about 3 years ago)
- Last Synced: 2023-08-30T09:15:58.257Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 263 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Premium Calculator
## Input
1. Gender
2. Date of Birth
3. Smoking Status
4. Coverage Amount## Formula
Premium Amount = Coverage Amount x Per Dollar Premium RatePer 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`