Create a text file called TOONS.TXT with the following data:
Write a program to find and display those names in the TOONS.TXT file that are repeated. Assume that the file has already been sorted into alphabetical order. When a name is found to be repeated, display it only once.
Having trouble writing this program, can anyone help?