Programming Example
Conditionals are expressions that evaluate to either true or false. Conditional statements in a computer program support decisions based on a certain condition. If the condition is met, or “true,” a certain piece of code is executed.