Skip to content

Instantly share code, notes, and snippets.

@hay
Created November 14, 2018 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hay/4d7104496e5ba8a295948acd98e0d9c7 to your computer and use it in GitHub Desktop.
Save hay/4d7104496e5ba8a295948acd98e0d9c7 to your computer and use it in GitHub Desktop.
Welcome to the fake people database!
No people database yet
Make a choice:
1) Remove a person
2) Add a person
3) Quit the program
Make your choice: [1/2/3]: 2
Added Jane with phone number 52334
Saved the database with 1 people
There are 1 people in the database:
[0] Jane - Tel: 52334
Make a choice:
1) Remove a person
2) Add a person
3) Quit the program
Make your choice: [1/2/3]: 2
Added Sean with phone number 706883
Saved the database with 2 people
There are 2 people in the database:
[0] Jane - Tel: 52334
[1] Sean - Tel: 706883
Make a choice:
1) Remove a person
2) Add a person
3) Quit the program
Make your choice: [1/2/3]: 1
What is the index number of the person to remove? 0
Removing Jane
Saved the database with 1 people
There are 1 people in the database:
[0] Sean - Tel: 706883
Make a choice:
1) Remove a person
2) Add a person
3) Quit the program
Make your choice: [1/2/3]: 3
I see you!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment