Saved Bookmarks
| 1. |
Explain the different relational operators with examples. |
|
Answer» The operators which perform operation of relation between two operands called relational operators. The > (greater than) operator: if (10 > 5)? Output: True. If ( 5 > 10)? Output: False The < (lesser than) operator: if (15 < 25)? Output: True. If(56<26)? Output: False The >= (greater than or equal to): if (10 >= 10)? Output: True. If ( 5 >= 10)? Output: False |
|