Operators in QBASIC.1
Operators in QBASIC.1
Example:
Multiplication(*), Addition(+),
Subtraction(-), Integer Division(\),
Modulus Division(MOD), etc.
Relational operators
• Relational operators are used to evaluate
and compare two values of the same type,
either both numeric or both string.
• The result of comparison is either TRUE or
FALSE.
Example:
Equal(=), Less than(<), Greater than(>),
Less than or equal to(<=), Greater than or
equal to(>=), Not equal to(< >).
Logical operators
• Logical operators are used to connect two
or more relational expressions to evaluate a
single value as TRUE or FALSE.