Conditional
Conditionals test if an expression is
true or not
•
General form …
if (<
Boolean expression
>)
<
Then statement
>;
•
For example
if (day == "Friday")
evening_plan = "party";