CIS56 Assignment - Insurance Rate:
Put up a form that includes the following information - note that the year should be done
with either a radio button or a check box.
- Vehicle id#
- Vehicle name
- Year (just do it for the last three years and an other category)
- Value
- Good driving points
- Accident points
- Moving violation ticket points
- Non-moving violation ticket points
- Insurance premium or amount owed (the thing you are calculating and then putting on the form
The insurance premium or amount owed should be based on the year, the value of the car, the good driving
points, the accident points and the ticket points. Obviously the criteria I am giving you
are not realistic!
For the year 2001 the premium before considering the points is 5% of the value.
For the year 2000 the premium before considering the points is 4.5% of the value.
For the year 1999 the premium before considering the points is 4% of the value.
For all other years the premium is 3.5% of the value.
For good driving points subtract $25 per point from the insurance premium or amount owed.
For accident points add $50 per point to the insurance premium or amount owed.
For moving ticket points add $25 per point to the insurance premium or amount owed.
For non-moving ticket points add $10 per point to the insurance premium or amount owed.
If the rate goes below 2% of the value of the car, the insurance premium or amount owed should be
established at the 2% point.