The if-then and if-then-else Statements

The if-then statement is used to tell our program to execute some part of our code when a given condition is met. The if-then statement can be used in conjunction with the other things that we have learned so far. A simple if-then statement can be written as follows:

Click here to read more