386,103 views
17 votes
17 votes
Create a program that: Provides access to a rolodex (list of names and contact information). Have the program accept a name to lookup and that prints the contact information of the matching name. Use an array for names and an array for email address and another array for phone numbers. Make sure that all three arrays contain corresponding information.

User Keul
by
2.7k points

1 Answer

12 votes
12 votes

Answer:

Step-by-step explanation:

The following code is written in Java, it asks the user for a name and looks that name up in the names array. If it finds it prints out all the values in that same index within every array to get the name, email, and phone number. If the name is not found it prints out that the client is not found.

//The code is attached in the text file below and picture shows the output of the working code.

Create a program that: Provides access to a rolodex (list of names and contact information-example-1
User Daniel Chepenko
by
2.7k points