Conditions employ functions to tell if a statement is true or not so it can execute the resulting code.
The first is a simple if else statement followed by a more involved if else, elseif statement about the nature of a number.
The final line is an example of switch statement that simply looks to match if the function's input is correct among several options.