Question: Create a program that i ) asks the user to enter a phone or a name, ii ) searches the directory, and iii ) reports
Create a program that i asks the user to enter a phone or a name, ii searches the directory,
and iii reports the found entries. The above process continues in a loop until cancelled.
The dialog could be as follows:
Enter a phone or a name
to search for:John
John
Enter a phone or a name
to search for:
John
Sara
Enter a phone or a name
to search for:Nick
Nick
Nick
Enter a phone or a name
to search for:Cancelled
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
