FAQ: Conditional Statements - If...Else Statements

In simple terms, else is the default action when the if condition is not met. Any number equal to or greater than 18 will meet that condition. It is only when age is less than 18 that the condition is not met and so falls down to the default action (when there is one).

Thank you very much for your input.

1 Like