November 2018
Intermediate to advanced
566 pages
17h 15m
English
Simple branching could work with just the If statement. The statement checks for truth, and executes the code block based on the outcome of the condition. In the case of either–or, where there are only two conditions, use If–Else. When there are more than two possible outcomes, use If–ElseIf–Else. The else block is the catch-all.
Read now
Unlock full access