Conditional statments are a large part of writing computer programs and switches. You want to take some sort of input, evaluate it, then take some action based on what the input was. The decision you make about what to do is called a conditional statement. The first conditional statement we will look at is an if statement as shown below.
The above script gives X a value of 1. It then evaluates X and prints Higher if X is larger than 2. There is then a Read more […]