Project #3
Please complete the following program:
Write a program that maintains an address book for a user. The program should present a menu to the user to allow the user to do one of the following:
1. Lookup a contact
2. Add a contact
For #1, the user should be able to enter some info of a contact, and your program will print the full information. For #2, ask the user to enter a name, number, and address of a contact.
To maintain persistent storage, you want to store this information in a file.
Think about how to write this before you start...should you read what exists in the file first? What data structure should you store the contact info in? How do you write it back out to a file? Should it be the same file that you read in from in the beginning?