Topic summary
If statement

Extracted from the Wikipedia article Conditional (computer programming).
Chaining
In the following pseudocode, a shop offers as much as a 30% discount for an item. If the discount is 10%, then the first if statement is true and "you have to pay $30" is printed. All other statements below that first if statement are skipped.