Conditionals and Loops
Conditionals and Loops
AND LOOPS
AUGUST 21, 2024
CONDITIONALS
if …end
if … else … end
IF … END
false if
logical
If the logical expression is true,
then execute some statements,
true
If the logical expression is false,
statements then nothing gets executed.
en
d
IF … ELSE… END
statements
statements
en
d
CONDITIONAL STATEMENT