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-----------
Enter choice : 1
Enter Name : Haley Dunphy
Enter Address : 12, 3-12 Street, TK Residance, Penang
Enter Phone Number : 0122402312
--------Phonebook-----------
Enter choice : 1
Enter Name : Joe David
Enter Address : 134, 3rd Floor, Mutiara Residance, Kuala Lumpur
Enter Phone Number : 0174567789
--------Phonebook-----------
Enter choice : 2
Enter name to search : Haley
Search Result:
Haley Dunphy
12, 3-12 Street, TK Residance, Penang
01224023123
--------Phonebook-----------
Enter choice : 4
Haley Dunphy
12, 3-12 Street, TK Residance, Penang
0122402312
Joe David
134, 3rd Floor, Mutiara Residance, Kuala Lumpur
0174567789
--------Phonebook-----------
Enter choice : 5