Answers

Question and Answer:

  Home  Basic C++ Syntax

⟩ What relational operators if statements in C++?

Here are the relational operators, as they are known, along with examples:

> greater than 5 > 4 is TRUE

< less than 4 < 5 is TRUE

>= greater than or equal 4 >= 4 is TRUE

<= less than or equal 3 <= 4 is TRUE

== equal to 5 == 5 is TRUE

!= not equal to 5 != 4 is TRUE

 196 views

More Questions for you: