Question: Write a program that asks the user to enter 3 animals, e.g.: fox whale eagle . The program will do the necessary processing and extract

Write a program that asks the user to enter 3 animals, e.g.: fox whale eagle. The program will do the necessary processing and extract and print each animal on a new line. Finally it will print the standard sentence: The tiny animal2 asked the animal3 to go check on the restless animal1. Requirements/Specifications:

  1. Your program output must be identical with the one shown as an example (both in how it reads the input and it on what it prints). That includes the period at the end of the sentence. and the "Bye" at the end of the program.
  2. You can assume the user will enter data in the required format: 3 words (the animals) with exactly one space between them, and that each animal name has at least one character in it.

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!