IF statements provide a way to branch from one part of the program to another, when a certain condition is met. For example, IF (X>Y) THEN A=X-Y ELSE A=Y-X gives the same result as A=|X-Y| (absolute value). The program performs the X-Y calculation if X is larger than Y, and it branches to the Y-X calculation if Y is larger than X (or if they are equal).
Chat with our AI personalities
Identities are statements that are true for any number.
14
Coefficient
nurp
The word "and" means both statements must be true. The word "or" means that at least one of the statements must be true.