CIS56 Assignment - Insurance Form and File:

Put up a form to take in the following information - note that the year should be done with either a radio button or a check box.

The user will key in all of the information up to the insurance premium or amount owed. That you have to calculate and display 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 2002 the premium before considering the points is 5% of the value.
For the year 2001 the premium before considering the points is 4.5% of the value.
For the year 2000 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.

Write a file that contains the vehicle id#, the vehicle name and the insurance premium or amount owed. The file should be written using technique that was covered this week. When you pass in the assignment, you must attach the project, form and the file.