samedi 21 novembre 2015

how can i change this statement-if to switch && and ||?

i want to change this operator to switch statement

this is the code

 if((user == 0 && computer == 2) || (user == 1 && computer == 0) || (user == 2 && computer == 1)) {

^just this above^

Aucun commentaire:

Enregistrer un commentaire