vendredi 23 octobre 2015

is there a way to shorten if statement

Is there a better way to type the if statement

if( x > rah || y > rah|| x < 0 || y < 0) 

as this looks untidy and perhaps requires more computation than is needed

Aucun commentaire:

Enregistrer un commentaire