Chained inequality notation in programming languages

前端 未结 3 1819
离开以前
离开以前 2021-02-07 14:14

Is there a programming language that supports chained notation a < b < c to be used instead of a < b and b < c in conditional statements?

Example:

3条回答
提交回复
热议问题