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
Get step-by-step solutions from verified subject matter experts
