You should begin by asking the user for a one word answer to the following requests:
You should then print the following to the screen, with the underlined portions replaced with the words input above.
Dear Professor, A Time Period, while I was on my way A place I encountered a A living thing, with a An adjective A body part. It grabbed my completed homework and An action verb it. As you can see, I would never want to turn in homework that a A living thing with a An adjective A body part An action verb. May I plase have an extension? Thanks, Your Studentso if the input were Yesterday, Home, Dog, Big, Tooth, Ate your output would be
Dear Professor, Yesterday, while I was on my way Home I encountered a Dog, with a Big Tooth. It grabbed my completed homework and Ate it. I would never want to turn in homework that a Dog with a Big Tooth Ate. May I please have an extension? Thanks, Your Student
Your program should perform prompted input and echo back the results.
When the program is complete, please send a copy to dbennett@edinboro.edu, the subject of your message should be program1, csci 130
If you would like, you may use the getline function which will read in all input until the user presses return. That way the user can give multiple word answers, which should be far more amusing.
string aPhrase getline(cin, aPhrase);
You should use the concatenation operator.