if(p1true||p2true||p3true) { System.out.println("we have a winner"); System.out.println( ); }
How to print only the true condition in this case.
Aucun commentaire:
Enregistrer un commentaire