if
if
(EXPRESSION) STATEMENT else
STATEMENT
In this statement the expression should have a boolean type. It is evaluated first. If the expression evaluates to true, then the first statement (known as the then clause) is evaluated. If the expression evaluates to false, the statement following else
(the else clause) is evaluated.
ProfessorJ Beginner Language