int x = 1;
int y = 1;
int z = x == y;
int x = 1;
int y = 1;
int z = x != y;
int x = 1;
int y = 1;
int z = x > y;
int x = 1;
int y = 1;
int z = x < y;
int x = 1;
int y = 1;
int z = x >= y;
int x = 1;
int y = 1;
int z = x <= y;
Returns \(1\) if both positive. \(0\) otherwise.
If first is not truthy, the second is not evaluated.
int x = 1;
int y = 0;
int z = x && y;
Returns \(1\) if either positive. \(0\) otherwise.
If first is truthy, the second is not evaluated.
int x = 1;
int y = 0;
int z = x || y;
int x = 1;
int y = 0;
int z = !(x && y);