18.4k views
2 votes
What does else do in an if/else statment?

O Gives the if statement a command to run if the condition is false
O Runs a command regardless of whether the condition is tru or false
O Determines whether the condition is true or false
O Tells the condition which code to run

User Sarang Pal
by
4.3k points

1 Answer

2 votes

Answer:

Gives the if statement a command to run if the condition is false

User RobertoT
by
4.2k points