Chapter :-5 (English)
Completion requirements
Topic Wise Chapter (English)
4. Relational (Comparison) Operators
Relational (Comparison) Operators
Definition:
Used to compare two values and return true or false.
Examples: == , != , > ,
< , >= , <=
Advantages:
· Essential for decision-making (if, while)
· Improves logical flow control
Disadvantages:
· Wrong comparisons can cause logical errors
· Floating-point comparisons may be inaccurate