128k views
4 votes
C++ allows the programmer to compare numeric values using ____.

a) If-else statements
b) Switch-case statements
c) Comparison operators
d) Relational Operators

User Jasminka
by
7.9k points

1 Answer

3 votes

Final answer:

C++ allows the programmer to compare numeric values using relational operators.

Step-by-step explanation:

C++ allows the programmer to compare numeric values using relational operators. These operators include < (less than), > (greater than), <= (less than or equal to), >= (greater than or equal to), == (equal to), and != (not equal to). With these operators, you can compare two numeric values and get a result of either true or false based on the comparison.

User David Bohunek
by
8.5k points