Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions