IF Statement – Decision Control Structure
Introduction The IF statement allows us to make a decision based on whether a condition is true or false. The simple decision is to perform an action if the condition is true and otherwise do nothing. The double decision allows us to perform a second action if the condition is false. In the following video …