Question: c++ language please no other language just C++ the written instructions ask for an adjective, but there is no adjective in the sample outputs. make

Part 3: C++ Mad Libs This part of the assignment should be written in part3.cpp. Write a program in part3.cpp which uses cout and cin statements to gather the following information from the user. Below are the variable names you will need to specify (the data type is in parenthesis): A food (string) A color (string) A decimal number (double) An adjective (string) An animal (string) A whole number (int) A capital letter (char) Your first name (string) Then, once you have gathered all the information, output the user's data following the exact format below. Insert the user's variables into the output to produce a silly message: Dear Professor Erickson I am sorry that I am unable to turn in my assignment today. Last night I was busy cooking (Food] for dinner. While it was cooking, the [Food) turned a stunning (color) color. I would have given the meal a (decimal numbers out of 10 rating. Unfortunately my pet [Animal] smelled the remains of the [Food) on my computer. And my (Animal) ate it I'm sorry again. I will submit it to GitHub in whole number] days. Please consider giving me a [letter] grade. Sincerely. Your Name! part3.cpp Sample Output Make sure your output EXACTLY matches this one if you give the same inputs. The autograder is sensitive to spaces and newlines. Note that there is a new line after each line of output, and no spaces between the colon C) and new line for each prompt to the user. (for example, "Enter a food" does not have any spaces after the colon and before the new line) part3.cpp Sample Output Make sure your output EXACTLY matches this one if you give the same inputs. The autograder is sensitive to spaces and newlines. Note that there is a new line after each line of output, and no spaces between the colon () and new line for each prompt to the user. (for example, "Enter a food:" does not have any spaces after the colon and before the new line) Welcome to C++ Mad Libs! Enter your responses to the below prompts. Your responses must be one word with no spaces. Enter a food: spaghetti Enter a color: silver Enter a decimal number: 99.9 Enter an animal: frog Enter a whole number: 99 Enter a capital letter: B Enter your first name: Ashley Dear Professor Erickson, I am sorry that I am unable to turn in my assignment today. Last night I was busy cooking spaghetti for dinner. While it was cooking, the spaghetti turned a stunning silver color. I would have given the meal a 99.9 out of 10 rating. Unfortunately my pet frog smelled the remains of the spaghetti on my computer. And my frog ate it. I'm sorry again. I will submit it to GitHub in 99 days. Please consider giving me a B grade. Sincerely, Ashley
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
