Write a program that prompts the user to enter one of the filenames described in Programming Exercise

Question:

Write a program that prompts the user to enter one of the filenames described in Programming Exercise 12.31 and displays the names that are used for both genders in the file. Use sets to store names and find common names in two sets. Here is a sample run:

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: