Separate statements
Statements are separated by ”;” (semicolon).Compound statements
One or more statements can be enclosed in curly braces to form a compound statement. Compound statements are commonly called “blocks” (not to be confused with FlexiLayout blocks).Conditional statements
In any section intended for entering code, you can use conditional if statements. The if statement controls conditional branching. The body of an if statement is executed if the value of the expression is true. The syntax for the if statement has two forms. Syntax selection-statement :true, statement is executed. If expression is false, statement is ignored. In the second form of syntax, which uses else, the second statement is executed if expression is false.
Iteration statements
In any section intended for entering code, you can use iteration for statements. The for statement controls loops. The loop is executed while the value of the expression is true. Syntax iteration statement :- break - Breaks the loop.
- continue – Goes to the next iteration of the loop.
