I am trying to convert a piece of pseudo code into a C code and I have conditions like
if (-4 <= X <=8) THEN {Do Something} else {Do something else} <
No; that won't work.
-4 <= X is a either 0 or 1, which is always less than 8.
-4 <= X