Control
flow is very similar to C/C++:
if (bool
expression)
...
else
...
Loops: for (initialization;
bool expression; loop expression)
...
while
(bool expression)
...
do
...
while
(bool expression)
- continue
– causes
a
jump to the next iteration of the loop
- break – available in loops, causes an exit of
the loop