Make a program that pulls all of the email addresses


Problem

Make a program that pulls all of the email addresses from the headers.txt file that are preceeded with the sequence "Return-Path:" and display them in a list.

Your output should include any duplicate entries found, but you do need to make sure it's only these specific addresses, and that there are no newlines between entries.

You will create three functions that perform the following:

1. main() opens the headers.txt file and passes it to showRecords. After the records are printed, main() catches the count of the records and passes that to userPrint().
2. showRecords() this function receives the open file handler, and returns the count as an integer.

Be sure to do the following in this function:

1. loop through the file and print each record required
2. count each record as it is printed
3. userPrint() catches the count of the records and displays a message.

The last line of your report will state how many records were found.

Request for Solution File

Ask an Expert for Answer!!
Other Subject: Make a program that pulls all of the email addresses
Reference No:- TGS03268359

Expected delivery within 24 Hours