Question: CHALLENGE ACTIVITY 5 . 3 . 4 : Advanced while loop examples. 5 5 3 2 6 2 . 4 1 9 4 5 1

CHALLENGE ACTIVITY
5.3.4: Advanced while loop examples.
553262.4194510.qx3zqy7
Jump to level 1
String input_word is read from input. Write a loop that iterates while input_word is not equal to 'turtles'. In each iteration of the loop:
Output 'turtles not found yet'.
Read string input_word from input.
Click here for example
Ex: If the input is:
take
good
care
of
your
turtles
then the output is:
turtles not found yet
turtles not found yet
turtles not found yet
turtles not found yet
turtles not found yet
Found turtles!

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!