Question: Write the program using nested loops with the while statement. You're working for a company that's building an email list from files of mail messages.

Write the program using nested loops with the while statement.
You're working for a company that's building an email list from files of mail messages. Your boss would like you to write a program that reads a file called mail.dat, and that outputs every string containing the sign to file addresses.dat. For the purpose of this project, a string is defined as it is by the C++ stream reader-a contiguous sequence of non-whitespace characters. Given the data From sharon@marzipan.edu Date: Wed, 13 Aug 2003 17:12:33 EDT Subject: Re: hi To: john@meringue.com John, Daves email is dave smitheicing.org ttyl, sharon the program would output the following information on file addresses.dat: sharon@marzipan.edu john@meringue.com dave smith@icing.org Use meaningful variable names, proper indentation, and appropriate comments. Thoroughly test the program using vour own data sets
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
