Question: Write a program which asks the user to input in a list of names, and outputs all pairs of names from the list. How many
Write a program which asks the user to input in a list of names, and outputs all pairs of names from the list.
How many names are in your list?
3
Enter in name 0:
Alison
Enter in name 1:
Bob
Enter in name 2:
Carl
Pairs:
Allison, Bob
Alloson, Carl
Bob, Carl
Java, thanks
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
