write a program that will create a phonebook,wherein you can add entries in the phonebook,delete entries,View all entries and Search **entries.In viewing all entries, the user should have a choice,whether to view the entries in **alphabetical order or in increasing ** order of the telephone number.In searching for entries, the user should also have an option to search entries **by name or by telephone numbers.In searching by name, the user should also have an option if he /she wants to search by first name or last name.

don't just post your assignment here. post the code you have so far and the questions you have about difficulties you encounter.

DaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments"
http://www.daniweb.com/community/rules

Post what you have done so far and someone will help you from there.

No one is going to answer your homework solution, we are only going to help you. Have you noticed the trend of users not getting help because they don't try their homework and post the same question on other sites?