Objectives: To write program with input, output and control structures: sequential, selection and loop To write program using array.
Question: Write a program that creates two String arrays, one to store names of 5 boys and another to store names of 5 girls. Read the names from the user. The program then matches the boys and the girls randomly and displays the 5 pairs of matched couples. The user can repeat the same process of randomly matching the 5 pairs until (s)he chooses to quit the program.