94.3k views
2 votes
An IF-ELSE statement allows the robot to run one portion of code if the IF statement is false and another portion of code if it is true.

a. True
b. False

User Jeiwan
by
8.0k points

1 Answer

5 votes

Final answer:

An IF-ELSE statement allows the robot to run different portions of code depending on whether the IF statement is true or false.

Step-by-step explanation:

An IF-ELSE statement allows the robot to run one portion of code if the IF statement is true and another portion of code if it is false.

User Obs
by
8.2k points

No related questions found