Problem

Write a program that plays the game of Mad Lib. Your program should prompt the user to ent...

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],

1 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.

Sincerely, [Your Name]

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 2
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT