122k views
10 votes
Which response best completes the following IF-ELSE statement?

IF the answer is greater than 100, THEN say "You have won the game!", ELSE say "________"


Congratulations!

Try again!

You have the highest score!

You made it to the next level!

User PaulP
by
3.8k points

1 Answer

8 votes

Final answer:

The best completion for the IF-ELSE statement is to say "Try again!"

Step-by-step explanation:

The best completion for the IF-ELSE statement is:

IF the answer is greater than 100, THEN say "You have won the game!", ELSE say "Try again!"

User PepsiCo
by
3.9k points