Class

Closed

Description

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.

## Deliverables

(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.

## Platform

VISUAL C++

## 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.

Skills: C Programming, Engineering, MySQL, PHP, Software Architecture, Software Testing

See more: what is visual programming, what is functional programming, what is a string in programming, what is an array in programming, what is a class in programming, what are classes in programming, u.s. p.s, string processing in c, string in cpp, string functions in cpp, string cpp, programming with cpp, programming what is a class, programming variables, programming statement, programming pointers, programming meaning, programming class, print out source, printed names, pointers in c programming, pointers c programming, out source printing, h and p form, functional programming example

Project ID: #2839156

Awarded to:

thethinkervw

See private message.

$12 USD in 14 days
(2 Reviews)
0.2

31 freelancers are bidding on average $45 for this job

pelkinsoftm

See private message.

$41.65 USD in 14 days
(49 Reviews)
6.1
andreifortuna

See private message.

$17 USD in 14 days
(12 Reviews)
5.7
cinterosystems

See private message.

$17 USD in 14 days
(139 Reviews)
5.6
kurtn

See private message.

$21.25 USD in 14 days
(43 Reviews)
5.4
sanatanvw

See private message.

$85 USD in 14 days
(72 Reviews)
5.5
smartpin

See private message.

$17 USD in 14 days
(60 Reviews)
5.0
leepwo

See private message.

$42.5 USD in 14 days
(41 Reviews)
4.7
deovalente

See private message.

$127.5 USD in 14 days
(15 Reviews)
4.6
anazvw

See private message.

$8.5 USD in 14 days
(33 Reviews)
4.3
teamsgreen

See private message.

$25.5 USD in 14 days
(48 Reviews)
4.3
alokgarg

See private message.

$12.75 USD in 14 days
(69 Reviews)
4.2
vw132761vw

See private message.

$42.5 USD in 14 days
(33 Reviews)
4.2
anu2005

See private message.

$68 USD in 14 days
(18 Reviews)
4.0
kasperindia

See private message.

$15.3 USD in 14 days
(35 Reviews)
3.9
javabeevw

See private message.

$85 USD in 14 days
(18 Reviews)
3.9
dvandersluis

See private message.

$42.5 USD in 14 days
(15 Reviews)
3.9
Meg341

See private message.

$25.5 USD in 14 days
(14 Reviews)
3.5
realgoodteam

See private message.

$127.5 USD in 14 days
(12 Reviews)
3.5
odysseyvw

See private message.

$34 USD in 14 days
(32 Reviews)
3.3
vw203484vw

See private message.

$17 USD in 14 days
(17 Reviews)
3.3