Skip to content
Advertisement

Tag: conditional-operator

Check if int is between two numbers

Why can’t do you this if you try to find out whether an int is between to numbers: Instead of it, you’ll have to do which seems like a bit of overhead. Answer One problem is that a ternary relational construct would introduce serious parser problems: When you try to express a grammar with those productions using a typical PGS,

Advertisement