This project calculates insurance eligibility and premium amounts based on user inputs such as age, driving history, and driving course completion. It provides an interactive, user-friendly command-line interface to determine insurance eligibility and calculates the premium amount accordingly. Additionally, the program tracks a list of eligible users for further review.
- Calculates insurance premiums based on:
- Age of the user
- Driving history (e.g., presence of speeding tickets)
- Driving course completion status
- Determines user eligibility for insurance coverage.
- Displays the premium amount if eligible.
- Maintains a list of eligible users.
- Allows checking eligibility for multiple users in one session.
- Age β₯ 25:
- No speeding ticket: Premium = $500
- With speeding ticket: Premium = $1000
- Age < 25:
- No speeding ticket:
- Completed driving course: Premium = $1000
- No driving course: Premium = $1500 (ineligible)
- With speeding ticket:
- Completed driving course: Premium = $1500
- No driving course: Ineligible
- No speeding ticket:
- Install Python 3.x on your system.
- Clone the repository:
git clone https://github.com/harryallenp1/Proj_Insurancecalc.git cd Harry_T1.py