Write an application that allows a user to enter the names


THIS QUESTION HAS TWO PARTS:

A) Write an application that allows a user to enter the names and phone numbers of up to 20 friends.

Continue to prompt the user for names and phone numbers until the user enters "zzz" or has entered 20 names, whichever comes first.

When the user is finished entering names, produce a count of how many names were entered, but make certain not to count the application-ending dummy "zzz" entry.

Then display the names.

Ask the user to type one of the names and display the corresponding phone number.

Save the application as PhoneBook.java

B) Create the PhoneBookTest.java class that contains the main method and has an object to use the PhoneBook.java class

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write an application that allows a user to enter the names
Reference No:- TGS02910868

Expected delivery within 24 Hours