Problem 1: Write a C++ program that parses input that looks like
01/21/2003 Virginia Tech 100 Virginia 80 01/24/2003 Duke 75 Maryland 90and outputs just the team names found in the input. For the above input the output should be
Virginia Tech Virginia Duke MarylandThere may be any number of lines in the input but you may assume that the format is the same as that shown above. Note that some team names contain more than one word. If a team appears more than once in the input it should appear more than once in the output.
Submissions should be on paper but you are encouraged to work on a computer so you can test your answer.