Ask Question
13 August, 15:27

In 1-2 sentences describe the purpose of comparison operators and give an example.

+3
Answers (1)
  1. 13 August, 18:43
    0
    Comparison operators are used to compare between objects!

    are they equal? is one greater than the other?

    if (a = = b) + + a;

    if (a > b) a = b;

    for example when we use a sort function, comparison operators are used inside the function.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “In 1-2 sentences describe the purpose of comparison operators and give an example. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers