Syntax
IF-THEN-ELSE
statements add to IF-THEN
by letting you specify an alternative set of statements to execute if the condition evaluates to false.
Example
This example shows an IF-THEN-ELSE
statement being used to display the text Non-commission
if an employee doesn't get a commission:
The following is the output from this program: