Problem

Write a program that asks the user to enter a favorite color, a favorite food, a favorite...

Write a program that asks the user to enter a favorite color, a favorite food, a favorite animal, and the first name of a friend or relative. The program should then print the following two lines, with the user’s input replacing the items in italics:

I had a dream that Name ate a Color Animaland said it tasted like Food!

For example, if the user entered blue for the color, hamburger for the food, dog for the animal, and Jake for the person’s name, the output would be

I had a dream that Jake ate a blue dogand said it tasted like hamburger!

Don’t forget to put the exclamation mark at the end.

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