Relation operator-:
we obtain compare two quantities and depending on their relation.Take certain decision For example- we make compare the age of 2 person or the price of two items, and so on.These comparison can be done with the help of Relational operators. we have already used the symbol is greater(<) than meaning less than an expression such as is greater than
a<b or1<10
Containing the relation operators is termed as a relation expression. The value of a relational expression is either one or zero. for example
10<40 is true
40 < 10 is false
“C” Support six type relation operators these are
- < Is less then
- > is grater then
- <= less then or equal to
- >= grater then or equal to
- = is equal to
- != is not equal to