Earlier, we described statements as commands, pieces of code that are executed in some order. Expressions ending with a semicolon are statements. C++ language comes with some built-in statements. We will start with the selection statements.
16.1 Selection Statements
Selection statements allow us to check to use conditions, and based on that condition, execute the appropriate statements.