Control flow / Conditional statements / if/else statements
Valid example
Valid example
Invalid example
Complex conditions
Ternary operator
if
(latitude ==
0
)
location =
"Equator"