Question
In which of these situations would it make the MOST sense to use a while loop?
(1 point)
Responses
if the user has three lives in the game
if the user has three lives in the game
if the user has to keep guessing until they figure out the magic number
if the user has to keep guessing until they figure out the magic number
if there is a string created with the const keyword
if there is a string created with the const keyword
if there is a Boolean variable created with the let keyword
(1 point)
Responses
if the user has three lives in the game
if the user has three lives in the game
if the user has to keep guessing until they figure out the magic number
if the user has to keep guessing until they figure out the magic number
if there is a string created with the const keyword
if there is a string created with the const keyword
if there is a Boolean variable created with the let keyword
Answers
GPT 3.5
if the user has to keep guessing until they figure out the magic number