-
comparison operator & logical operator
==
When the values are the same, the program answers true.-
!=
When the value is not the same, the program answers true.-
-
>
-
<
-
num == str
Even when data type is different but the value is the same, the program answers true.-
===
When both of the value and data type are the same,
the program answers true.-
&&
When both are true, the program answers true.-
-
||
When either is true, the program answers true.-
-