Question: You are required to implement a simple telephone directory program using a linked list. Each telephone record should be composed of the name, surname, and

 You are required to implement a simple telephone directory program using

You are required to implement a simple telephone directory program using a linked list. Each telephone record should be composed of the name, surname, and telephone number. The program should display a main menu with the following options: 1. Add record 2. Delete record 3. Search 4. Display all records 5. Exit The telephone number should be unique. A telephone record should be deleted by asking the user to enter the telephone number of the record to delete. The search feature should be able to do the search using the three fields, i.e., either search by telephone, or search by name, or search by surname, or search by both the name and surname. When all the telephone records are displayed, they should be displayed in alphabetical order by name and surname. This can be done either by sorting the records before displaying them (not suggested) or else by inserting new data elements in the linked list in the correct alphabetic order immediately during the "add to linked list" function. The program should be robust and therefore should include data validation. The following list includes some of the data validation that is required: - Data fields cannot be left empty - Telephone numbers should be unique and made up of 8 digits only. - Searching and sorting should not be case sensitive You are required to implement a simple telephone directory program using a linked list. Each telephone record should be composed of the name, surname, and telephone number. The program should display a main menu with the following options: 1. Add record 2. Delete record 3. Search 4. Display all records 5. Exit The telephone number should be unique. A telephone record should be deleted by asking the user to enter the telephone number of the record to delete. The search feature should be able to do the search using the three fields, i.e., either search by telephone, or search by name, or search by surname, or search by both the name and surname. When all the telephone records are displayed, they should be displayed in alphabetical order by name and surname. This can be done either by sorting the records before displaying them (not suggested) or else by inserting new data elements in the linked list in the correct alphabetic order immediately during the "add to linked list" function. The program should be robust and therefore should include data validation. The following list includes some of the data validation that is required: - Data fields cannot be left empty - Telephone numbers should be unique and made up of 8 digits only. - Searching and sorting should not be case sensitive

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!