Really classical structure, especially easy to understand
for english speaking programmer.
NB : BoolleanExpression are Boolean Expressions)
Break, continue, Label ...
Loop : be sure to get out of it
if (BooleanExpression) Statement
if (BooleanExpression) Statement else Statement
while (BooleanExpression) Statement
do Statement while (BooleanExpression)
for (Expression; BooleanExpression; Expression) Statement
break <Label>
continue <Label>
Label: Statement
switch (IntegerExpression)
{
case IntegerValue:
Statements
default:
Statements
}
return Expression
In these examples reserved keywords are shown in bold.