244,919 views
18 votes
18 votes
Why do we use the else command?

User Maczniak
by
3.4k points

2 Answers

20 votes
20 votes
We use the else command when there are two blocks of statements that need to be defined. It provides an alternative statement for the program to complete if the previous statement is false.
User Steve Park
by
3.0k points
18 votes
18 votes

Answer:

The Else (ELSE) command is used with an IF command to specify another command that is to be conditionally processed.

Step-by-step explanation:

haver great day

User Trutheality
by
3.0k points