Question: 4. [3 points] As a user, I would like to guess the answer to a question that could have many possibilities so that I can

 4. [3 points] As a user, I would like to guessthe answer to a question that could have many possibilities so that

4. [3 points] As a user, I would like to guess the answer to a question that could have many possibilities so that I can have fun with a guessing game. - Add a question that has multiple possible correct answers that are stored in an array. - Give the user 6 attempts to guess the correct answer. - The guesses will end once the user guesses a correct answer or they run out of attempts. - Display all the possible correct answers to the user in console. - Consider using a loop of some sort for this

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!