Question: Need help coding this: A C++ program that displays a mad lib for the user. A program that performs the following: Prompt the user for
Need help coding this:
A C++ program that displays a mad lib for the user.
A program that performs the following:
- Prompt the user for at least ten values for a mad lib. They can be vague or specific. Examples:
- an adjective (describing word)
- a plural noun (person, place, thing)
- a person
- a food
- a baseball team
The user data must be stored in an array or vector.
- You must use a loop to collect the values.
- Once all of the values are entered, display the result. Example:

I C:\\Users\\Ryan\\Desktop\\CPP\\Lab Exercise 3 - Mad Lib\\RDA.MadLib\\Debug\\RDA.MadLib.exe 0 X Enter an adjective (describing word) : smelly A Enter a sport: soccer Enter a city: New York Enter a person: Obama Enter an action verb (past tense): skipped Enter a vehicle: Mclaren Enter a place: the bathroom Enter a noun (thing, plural): spoons Enter an adjective (describing word): hot Enter a food (plural): pizza Enter a liquid: rain Enter an adjective (describing word) : friendly One day my smelly friend and I decided to go to the soccer game in New York. We really wanted to see Obama play. So we skipped in the Mclaren and headed down to the bathroom and bought some spoons. We watched the game and it was hot. We ate some pizza and drank some rain. We had a friendly time, and can't wait to go again. Would you like to save output to file? (y) : y Mad lib has been saved to madlib. txt. Press any key to exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
