Address Book II

As you write larger programs, you will need to find a way to allow the user to access different sections of your program, e.g. by selecting menu options. If you missed the lesson then you might want to look at the following two links:

Your Task

Your task is to add menus to your Address Book program to allow the user to choose whether to add a new address or select an existing address. Your program should:

  1. give the user a choice of adding a new address or viewing an existing one
  2. allow the user to add new contact details and add them to the file
  3. allow the user to enter a name and view the contact details saved in the file