Codecademy Practice

Contact Book - Set Up

Challenge: We are going to build a contact book as a CLI app. The contacts will be stored in an array and will be lost when the application is closed.

Step by step instructions

We are going to create a contact book that runs in the terminal. When we run the app, it will print a menu with options, then it will read the option written by the user and call the right action.

Main user interface

---------------------
  CONTACT BOOK
---------------------

  1) Exit the program

  Choose a menu option: _
Wrong input. Please try again: _

Instructions:

Controller

Create a controller class that will be the layer in between your user interface and the actions to perform.

Instructions: