Develop an application to create a contacts directory. The application will store information on family, friend and business contacts.

computer science

Description

CIS102 – Programming Fundamentals for Business

Bonaparte

 

Develop an application to create a contacts directory.  The application will store information on family, friend and business contacts.  The file structure is as follows:

 

Filename – my directory.dat

Fields:

Contact name

Contact type (f – family, d – friend, b – business)

Telephone

Email

Birthday

Expertise

Interest

 

1.     Create a function to initialize the contacts directory.

 

2.     Create a function to add family, friend and business contacts of your choice using fictional data.  Add 10 contacts.

 

3.     Create a function to access and print all the contacts.

 

4.     Create a function to print information for a specific contact.

 

5.     Create a function to print all the contacts in a specific category; family, friend or business.

 

6.     In the main module / function, create a function that displays a menu that provides access to all the above operations.

 


Related Questions in computer science category