June 2018
Beginner
722 pages
18h 47m
English
The control flow statements of the selection statements group are based on an expression evaluation. For example, here is one possible format: if(expression) do something. Or, another possible format: if(expression) {do something} else {do something else}.
The expression may return a boolean value (as in the previous examples) or a specific value that can be compared with a constant. In the latter case, the selection statement has the format of a switch statement, which executes the statement or block that is associated with a particular constant value.
Read now
Unlock full access