60.6k views
1 vote
PLS HURRY!
Look at the image below
Answer choices are:
if
for
while

PLS HURRY! Look at the image below Answer choices are: if for while-example-1
User Shuman
by
5.5k points

1 Answer

1 vote

The missing word is if.

For statements are used to iterate through objects, there is no object to iterate through with the code provided.

If you put while in the blank, an infinite loop will be created and there will be no output.

the if statement only makes sense.

User Deepak Gupta
by
5.8k points