I implemented the following program in C
#include int main() { int a = 10 ; if(0 < a < 5) {
if(x
It actually is valid syntax, but it doesn't do what you want.
Realize that x returns a bool, i.e. true or false. You then compare it against whatever value "z" has. So the intention of "x" looks wrong.
x returns a bool, i.e. true or false. You then compare it against whatever value "z" has. So the intention of "x" looks wrong.
x" looks wrong.
It can be:
if(x < y && y < z)