Can I do this in C++?
if (4<5<6) cout<<\"valid\"<
i.e a double comparison? Since I know that I can
boo
It may be clumsy but this will work:
int i, j, k; i = 4; j = 5; k = 6; if ( (i < j) && (j < k) ) { cout << "Valid!" << endl; }