Program Four

Write a program that processes an application for a drivers license.

Your program should as user-friendly as possible. Please make your input/output readable. Use spaces and blank lines to improve the readability.

You need to collect the following information

While collecting this information, you should provide menus whenever possible to ease data input.

These should put up the choices given, plus an other field, which allows the user to input an option you don't cover.

The following decisions are made based on the age:

The applicant should be asked if they have any of the following endorsements:
EndorsementCodeFee
Motorcycle M $25
Bus B $50
CDL D $250

The basic cost for the license is $45

After you have collected all of this information, print the results to an output file (license.txt).. Your output should contain all of the necessary information, and only optional information if it applies.

Required Output

    Drivers License
    Honor First MI Last, Title
    Street
    City, Pa, zip
    Status
    Fee
Additional output
    Organ Donor
    Endorsements:

You will be printing to both the screen and to the file.

Please make sure that you document your program, use proper indentation and variable names.

When the program is complete, please send a copy to dbennett@edinboro.edu, the subject of your message should be program4, csci 130

This program is due Wednesday, November 7 at 11:59 pm.

This program is worth 10 points.