Design an online address book to keep track of the names, addresses, and phone numbers.
1) Define class, address Type that can store a street address, city, state, and zip code.
2) Define a Class, person Type that can store an addressType object, name and phone number.
3) Make a list using personType data.
4) Provide a user with following options
i. Add a new person data in dictionary.
ii. Delete a person on the basis of name.
iii. Delete a person on the basis of phone number.
iv. Search a person on the basis of name.
v. Print a complete address book.
vi. Program terminates when user press -100.
Comments
Leave a comment