Problem 1: (10 points) The Shouting Parrot! Write a simple parroting program that echos what the user types until they enter the word "hush". Start with the simple echo/parrot program from Unit 4. For your program, the parrot SHOUTS back. No matter what the input case is, the program output will be in uppercase. The string "hush" should exit the indefinite loop regardless of how it is capitalized. Below is an example of how your parrot program should work for a simple test case. It will prompt the user with a '>' and echo the capitalized user input. Program output is in blue and user input is in black. >This is NOT a dead parrot! THIS IS NOT A DEAD PARROT! >Crackers anyone? CRACKERS ANYONE? >hush Save and submit your completed program to Gradescope as parrot.py

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter4: Selection Structures
Section4.5: A Case Study: Solving Quadratic Equations
Problem 6E
icon
Related questions
Question
Problem 1: (10 points) The Shouting Parrot!
Write a simple parroting program that echos what the user types until they
enter the word "hush". Start with the simple echo/parrot program from Unit 4.
For your program, the parrot SHOUTS back. No matter what the input case is,
the program output will be in uppercase. The string "hush" should exit the
indefinite loop regardless of how it is capitalized.
Below is an example of how your parrot program should work for a simple test
case. It will prompt the user with a '>' and echo the capitalized user input.
Program output is in blue and user input is in black.
>This is NOT a dead parrot!
THIS IS NOTA DEAD PARROT!
>Crackers anyone?
CRACKERS ANYONE?
>hush
Save and submit your completed program to Gradescope as parrot.py
Transcribed Image Text:Problem 1: (10 points) The Shouting Parrot! Write a simple parroting program that echos what the user types until they enter the word "hush". Start with the simple echo/parrot program from Unit 4. For your program, the parrot SHOUTS back. No matter what the input case is, the program output will be in uppercase. The string "hush" should exit the indefinite loop regardless of how it is capitalized. Below is an example of how your parrot program should work for a simple test case. It will prompt the user with a '>' and echo the capitalized user input. Program output is in blue and user input is in black. >This is NOT a dead parrot! THIS IS NOTA DEAD PARROT! >Crackers anyone? CRACKERS ANYONE? >hush Save and submit your completed program to Gradescope as parrot.py
Expert Solution
Step 1

The python program is given below.

trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
C-string
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr