Write a program that resembles a phone book, which stores and displays the names, the addresses (cities) and the telephone numbers for 20 people. The program book should have menu to search...

Write a C program
Write a program that resembles a phone book, which stores and displays the names, the<br>addresses (cities) and the telephone numbers for 20 people. The program book should have menu to<br>search information according to names or phone number. The sample output of the program should<br>be as follows:<br>--------Phonebook-----------<br>1 Add new information<br>2 Search Name<br>3<br>Search Phone Number<br>4 Display All Info<br>5 Exit<br>Enter choice : 1<br>Enter NameI Haley Dunphy<br>Enter Address : 12, 3-12 Street, TK Residance, Penang<br>Enter Phone Number : 0122402312<br>--------Phonebook-----------<br>1<br>Add new information<br>2 Search Name<br>3 Search Phone Number<br>4 Display All Info<br>5<br>5 Exit<br>Enter choice i 1<br>Enter Name : Joe David<br>Enter Address :<br>Enter Phone Number : 0174567789<br>134, 3rd Floor, Mutiara Residance, Kuala Lumpur<br>--------Phonebook-----------<br>1 Add new information<br>2 Search Name<br>3 Search Phone Number<br>4 Display All Info<br>5 Exit<br>: 2<br>Enter name to search : Haley<br>Enter choice<br>Search Result:<br>Haley Dunphy<br>12, 3-12 Street, TK Residance, Penang<br>01224023123<br>--------Phonebook--<br>1 Add new information<br>2 Search Name<br>3 Search Phone Number<br>4 Display All Info<br>5 Exit<br>Enter choice : 4<br>Haley Dunphy<br>12, 3-12 Street, TK Residance, Penang<br>0122402312<br>Joe David<br>134, 3rd Floor, Mutiara Residance, Kuala Lumpur<br>0174567789<br>--Phonebook-<br>1 Add new information<br>2 Search Name<br>------<br>3 Search Phone Number<br>4 Display All Info<br>5 Exit<br>Enter choice<br>: 5<br>

Extracted text: Write a program that resembles a phone book, which stores and displays the names, the addresses (cities) and the telephone numbers for 20 people. The program book should have menu to search information according to names or phone number. The sample output of the program should be as follows: --------Phonebook----------- 1 Add new information 2 Search Name 3 Search Phone Number 4 Display All Info 5 Exit Enter choice : 1 Enter NameI Haley Dunphy Enter Address : 12, 3-12 Street, TK Residance, Penang Enter Phone Number : 0122402312 --------Phonebook----------- 1 Add new information 2 Search Name 3 Search Phone Number 4 Display All Info 5 5 Exit Enter choice i 1 Enter Name : Joe David Enter Address : Enter Phone Number : 0174567789 134, 3rd Floor, Mutiara Residance, Kuala Lumpur --------Phonebook----------- 1 Add new information 2 Search Name 3 Search Phone Number 4 Display All Info 5 Exit : 2 Enter name to search : Haley Enter choice Search Result: Haley Dunphy 12, 3-12 Street, TK Residance, Penang 01224023123 --------Phonebook-- 1 Add new information 2 Search Name 3 Search Phone Number 4 Display All Info 5 Exit Enter choice : 4 Haley Dunphy 12, 3-12 Street, TK Residance, Penang 0122402312 Joe David 134, 3rd Floor, Mutiara Residance, Kuala Lumpur 0174567789 --Phonebook- 1 Add new information 2 Search Name ------ 3 Search Phone Number 4 Display All Info 5 Exit Enter choice : 5

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here