tags:

views:

69

answers:

2

Almighty Gurus, Please tell me, I want to know can comparison sm. set of variables in row, like this:

x < y >= z 

or i need to do it in two steps?

(x < y) && (y >= z)
+5  A: 

In Javascript, you must do this type of comparison in two steps.

Python is the only widely used language I'm aware of that allows the first form (please comment if I'm incorrect).

Greg Hewgill
I think you're absolutely right!
Maxja
A: 

You can do the later:

(x < y) && (y >= z)
Sarfraz