Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Ai And The Lottery Defying Odds With Intelligent Prediction

Authors: Gary Covella Ph D

1st Edition

B0CND1ZB98, 979-8223302568

More Books

Students also viewed these Databases questions

Question

1. Explain the 2nd world war. 2. Who is the father of history?

Answered: 1 week ago

Question

4. Describe cultural differences that influence perception

Answered: 1 week ago