Question: Write a program that plays the game of Mad Lib. Your program should prompt the user to enter the following strings: The first or last

Write a program that plays the game of Mad Lib. Your program should prompt the user to enter the following strings:
The first or last name of your instructor
Your name
A food
A number between 100 and 120
An adjective
A color
An animal
After the strings are input, they should be substituted into the story below and output to the console.
Dear Instructor [Instructor Name],
I am sorry that I am unable to turn in my homework at this time.First, I ate a rotten [Food], which made me turn [Color] and extremely ill. I came down with a fever of [Number 100-120]. Next, my [Adjective] pet [Animal] must have smelled the remains of the [Food] on my homework, because he ate it. I am currently rewriting my homework and hope you will accept it late. Regards,
{Your Name}
 Write a program that plays the game of Mad Lib. Your

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!