Written by the Fiveable Content Team • Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 exam•Written by the Fiveable Content Team • Last updated September 2025
Definition
Relational operators are symbols used to compare values and determine the relationship between them. They are commonly used in programming languages to test conditions and make decisions based on the results.
Related terms
Greater Than: This relational operator (> symbol) is used to check if one value is greater than another.
Less Than: This relational operator (< symbol) is used to check if one value is less than another.
Greater Than or Equal To: This relational operator (>= symbol) is used to check if one value is greater than or equal to another.