three or four logical operations are available, exactly how much it depends on the particular programming language that we use. with these operations, we can solve any logical task or condition. these logical conditions are for example connections of comparing values according to certain rules, testing values. logical operations are mainly used in the execution of conditional statements.
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: < less than operator is a logical operator that is used to compare two numbers.
greater than: > greater than operator is a logical operator that is used to compare two numbers.