This project was awarded to thethinkervw for $12 USD.Get free quotes for a project like this
Project Budget$30 - $5000 USD
The program is to maintain a database of policyholders for Automobile Insurance Company. PROCESSING: Create a CLASS OF OBJECTS that will hold the following 8 pieces of information on each policyholder. All member variables of the class are to be private members by the member functions of the class. (1) Identification # of policyholder. (2) First and last names of policyholder. (3) Amount for which the automobile is insured. (4) Amount of the annual premium paid to policyholder. (5) Amount of the deductible on the policy. (6) License number of the insured vechile. (7) The state in which the vechile is insured. (8) You must also CREATE AN ARRAY OF CLASSES to policyholder information for the company. The program MUST ALSO ensure that following actions are prohibited: (1) Changing of a non-existent policy in the database. (2) Printing of a non-existent policy in the database. (3) Deletion of a non-existent policy from the database. (4) Addition of a duplicate policy to the database. If one of these actions is attempted, the program is to print out an appropriate error message indicating which of the prohibited actions was attempted and a suggested corrective action. INPUT DATA: The input file comes from A: drive and under the file name data3. Each line of data will indicate one of several actions o be performed by your program. The exact format for a line of data will depend on the processing to be done. For each action, the codes are: A - Add a policyholder to the database D - Delete a policyholder P - Print information U - Update the information Q - Terminate the program Each line of input will contain different information depending on the action to be taken, they are: (1) FOR ADDING A POLICY HOLDER: Format: Example: A 2025 John Beckman 25000 [url removed, login to view] 200 VBR-425 KS (2) FOR DELETING A POLICYHOLDER: Format: Example: D 4577 (3). FOR PRINTING OUT POLICY INFORMATION: Format: E OR S Example: P E OR P S 8813 **The second single letter (E or S) will indicate what is to be printed. An E means that the entire database (information on all policyholders) is to be printed. An S indicates that only the information about the policyholder with the indicated Policy # is to be printed.
(4) FOR CHANGING POLICY INFORMATION Format: Example: U 5553 1 Karla U 6281 5 250 U 1109 6 ASAP-21 The value of the filed ID will indicate piece of information needs to be changed. The codes and meaning: 1. The first name. 2. The Last name. 3. Amount for which the automobile is insured. 4. The amount of the annual premium paid. 5. The amount of deductible. 6. The license number. 7. The state. THE DATA TYPE IN THE FILES AS FOLLOWS: The identification number - A four(4) digit number The first name - A string (12 char max) The last name - A string (12 char max) Amount for which the automobile is insured - An integer (< 100000) The amount of the annual premium paid FOR THAT PARTICULAR POLICY - A float (< 10000) The amount of deductible - An integer < 1000 The license number - A string (7 char ALWAYS) The state - A string (2 char ALWAYS) OUTPUT: The output will be in the form of a list of information contained in a policyholder record OR a statement indicating the results of a transaction. Results should state what was done or print an ERROR message. ***WILL EMAIL THE WINNING BIDDER AN INPUT ,OUTPUT EXAMPLE & SAMPLE POGRAM*** Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. ******************************************************** DEADLINE: 02/25/02 * MUST USE C++ COMMANDS, NO C ALLOWED, * MUST BE A SIMPLE PROGRAM (must be as simple as possible, will provide a sample example) * MUST USE COMMENTS * NO MORE THAN 2 FILES (cpp and/or h) * MINIMUM USE OF POINTERS IF ANY.
## Deadline information
* DEADLINE: 02/25/02 * MUST USE C++ COMMANDS, NO C ALLOWED, * MUST BE A SIMPLE PROGRAM (must be as simple as possible, will provide a sample example) * MUST USE COMMENTS * NO MORE THAN 2 FILES (cpp and/or h) * MINIMUM USE OF POINTERS IF ANY.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online