Conditional Statement with Else

The IF-THEN-ELSE statement is also used. The ELSE portion of the statement identifies what actions should be taken if the condition in the IF statement is not met.

The IF-THEN-ELSE statement is typically formatted like this:

IF condition, THEN statement (ELSE statement).

For example:

If the paint color is standard, then select part number S-200 or else select part number C-100.