IF-THEN STATEMENTS
-Decision structure that executes code when a given condition is true
SYNTAX
-If (condition) Then (statement)
-condition is boolean statement True/False
-If true, code is executed
CONDITIONAL STATEMENTS
=equal to
>greater than
<less than
>=greater or equal
<=less or equal
<>not equal to
IF-THEN-ELSE STATEMENTS
- else statements executes when if is false
-Syntax-If ....Then
Else
End If
IF-THEN-ELSE-IF
-used to decide among 3 or more conditions
-If....Then
Else If
Else
End If
LOGICAL OPERATORS
-joins to expressions that evaluate a boolean statement
-And, Or, Not