lundi 13 juin 2016

How to do simplest "If" statement

Is there a way I can do this in simplest way? Let say I have 20 unique digits to be checked, its getting very long and messy. Any suggestions?

if (i==80 || i==86 || i==101, etc...){some codes}

Aucun commentaire:

Enregistrer un commentaire