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.
less than
par1 < par2
greater than
par1 > par2
Equal to
par1 == par2

par1 = par2
Not equal to
par1 != par2

par1 <> par2

Example

Other pieces of example codes:
if (i==16)
 {
    continue;
 }
if ( x >= 12 )
   while ( y >= 0 )  
      --y;
1 != 10
b = x <= 12
10 >a && a>5
ret = j<i
Languages: en hu cz sk