# FreeBASIC - Relational operators

The main use of the relational operators is in control of conditional statements. thanks to these, we can decide which direction to continue the conditional statements, or for example, how many iterations of the cycle need to perform.### FreeBASIC

Other pieces of example codes:if y<5 then y = y/ 3.14 ' y = 1.234 end if

if x>5 then y = x / &Ha ' y = 1 end if

y <= x

a = 4 >= 2

x = y + 3

x <> y

Relational operators in another programming language: