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