Question: Problem 2: Create a nested-loop program (you can use any type of loop you would like). This nested loop should take the names input (below)

Problem 2: Create a nested-loop program (you can use any type of loop you would like).

This nested loop should take the names input (below) and print out every possible combination of first and middle names. These input names will need to appear in your workbook somewhere. Then, output every possible combination of first and middle names somewhere in the worksheet. Your program should work correctly with more or less first names and middle names. Below is an example of input and output. To save space, only the names associated with the first two first names are shown in the example output.

Problem 2: Create a nested-loop program (you can use any type of

Input First names Middle names Jill Penelope Gwyneth Diane Alice Heidi Anna Lilly Victoria Example Output First names Middle names Jill Penelope Penelope Diane Penelope Heidi Penelope Lilly Penelope Victoria Gwyneth Jill Gwyneth Diane Gwyneth Heidi Gwyneth Lilly Gwyneth Victoria etc. etc

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!