السلام عليكم ورحمة الله وبركاتة
لوسمحتم نريد حل لهذا السؤال
Write a program to maintain a list of some of your friends with their phone numbers. The program should reserve enough elements for 20 friends, and then present the user with an input screen to enter a friend name. The program then searches about the name in the previously existing list of names. When the inputted name is located in the list, print it with its corresponding phone number. If the name does not exist, enable the user to add it to the list, along with its phone number.
Notes: Use a hash table (with Linear Probing) to hold the list of names and to search about a name.