A relational expression consists of two or more expressions whose values are compared to determine whether the relationship stated by the relational operator is satisfied. Relational operators are of equal precedence. In a numeric relational expression, the operands are numeric expressions.
Complex entities are equal if their corresponding real and imaginary parts are both equal.
In a character relational expression, the operands are character expressions. Character operands are compared one character at a time, in order, starting with the first character of each operand. A relational expression can compare two numeric expressions of different data types.