Question: Write a Java program using arrays, show the user a list of the names (with integers before each name). Allow the user to select which

Write a Java program using arrays, show the user a list of the names (with integers before each name). Allow the user to select which friend is his/her best friend. The program should display the following: 
 Enter five names Enter friend 1 Enter friend 2 Enter friend 3 Enter friend 4 Enter friend 5 Here are all of those names Friend 1 is Paul Friend 2 is Rich Friend 3 is Dan Friend 4 is Sally Friend 5 is Kenny Which friend is your best friend? (Enter an integer) Kenny? Yes, Kenny is awesome 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!