I was wondering if i could write this
if ( (a > b) == (a > c) ) { ...
instead of this
if ( (a > b) && (a > c) ) || ( (a < b) && (a < c) ) { ...
a, b and c are numbers
Aucun commentaire:
Enregistrer un commentaire