Can I use if(1 <= x <= 2) instead of if(1 <= x && x <= 2)
It looks like not working if I combine them together, but basically they mean same. I am a bit confused.
Can I use if(1 <= x <= 2) instead of if(1 <= x && x <= 2)
It looks like not working if I combine them together, but basically they mean same. I am a bit confused.