Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 and 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 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 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 and
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 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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started