Ask Question
30 April, 01:08

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

+1
Answers (1)
  1. 30 April, 03:26
    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?
Find an answer to your question ✅ “In 1-2 sentences describe the purpose of comparison operators and give an example. ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers