Question: 1. Name the first program CustomerDatabaseWrite. 2. Write a program that will input, from the user, the following data: Social Security Number (entered as 123456789

1. Name the first program CustomerDatabaseWrite.

2. Write a program that will input, from the user, the following data:

Social Security Number (entered as 123456789 but displayed as shown in the output below)

First Name

Last Name

Address

City

State

Zip

Phone Number (entered as 9062223344 but displayed as shown in the output)

3. Prompt the user for the number of customer records they would like to enter.

4. Write the customer records to a file called CustomerDatabase.txt in the following format:

123456789

Cheryl

Miller

123 Main Street

Escanaba

MI

49829

9063991111

5. Name the second program CustomerDatabaseRead.

6. Write a program that will open the file and display the records in the CustomerDatabase.txt file in the following format alignment is required:

SS# Customer Name Address City ST Zip Phone Number

123-45-6789 Miller, Cheryl 123 Main Street Escanaba MI 49829 (906) 222-3344

234-56-7890 Smith, Bob Route 8 Escanaba MI 49829 (906) 333-8899

You need to include the following six requirements in the code (at least one of each): 1. Function 2. Class 3. Array 4. String Manipulation 5. Write to a file 6. Read from a file 7. Header File (optional but will receive 5 bonus points, if included) Input/Output: Furthermore, be creative, design the screen input anyway you like (professional and user friendly), but the screen file output should look similar to the above, but more professional and include a heading.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!