How to write a C programming, the question asked to be just in Array and String without using structure. Write a program that resembles a phone book, which stores and displays the names, the addresses...


How to write a C programming, the question asked to be just in Array and String without using structure.




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-----------




  • Add new information




  • Search Name




  • Search Phone Number




  • Display All Info




  • Exit




Enter choice : 1




Enter Name : Haley Dunphy



Enter Address : 12, 3-12 Street, TK Residance, Penang



Enter Phone Number : 0122402312




--------Phonebook-----------




  • Add new information




  • Search Name




  • Search Phone Number




  • Display All Info




  • Exit




Enter choice : 1




Enter Name : Joe David



Enter Address : 134,  3rd Floor, Mutiara Residance, Kuala Lumpur



Enter Phone Number : 0174567789




--------Phonebook-----------




  • Add new information




  • Search Name




  • Search Phone Number




  • Display All Info




  • Exit




Enter choice  : 2



Enter name to search : Haley




Search Result:



Haley Dunphy



12, 3-12 Street, TK Residance, Penang



01224023123





















--------Phonebook-----------




  • Add new information




  • Search Name




  • Search Phone Number




  • Display All Info




  • 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-----------




  • Add new information




  • Search Name




  • Search Phone Number




  • Display All Info




  • Exit




Enter choice  : 5




Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here