Use your knowledge of regular expressions in C++ to solve the following problem: 1. Design and write a C++ program that reads a file that contains a name on each line. For each line of input there must be a line of output that either contains the name in a different format, or a message saying that the line contained bad input. 2. Each line of the input file is valid if it contains a name in one of the following formats: Harry S. Truman Harry Truman That is, a single middle initial with a trailing period is optional. If the middle initial is present, however, the period must also be present. Also, there must be nothing before or after the name on its line, and each name (first and last begins with a capital and contains nothing but lowercase letters from then on. 3. The required output format for a valid name is either Truman, Harry or Truman, Harry S. depending on the input. If the line does not contain a valid name, the message "Bad input line: " followed by the line's contents enclosed in double quotes is output. Put your program in a file called FlipNames.cpp and when it is working, copy the source and the executable, which must be called FlipNames.exe, to your K: drive.