Question: Problem Four - Guess the word. Create a secret word of type String. Loop and ask the user to guess the word. If they guess

Problem Four - Guess the word.

Create a secret word of type String.

Loop and ask the user to guess the word. If they guess it let them know and end the program.

If their guess is wrong, tell them it is wrong and let them guess again. If they enter "zzz" end the game..

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 Programming Questions!