Question: You are to write a Phonebook program. You will read in customer names (just last names) and customer phone numbers as strings and they should

You are to write a Phonebook program. You will read in customer names (just last names) and customer phone numbers as strings and they should be stored in two arrays. Then you should process queries from the console.There will be two types of queries.

1) Lookup user enters a name and you return the phone number, if it exists, else unlisted

2) Reverse lookup user enters a phone number and you return the name, if it exists, else unlisted

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!