samedi 18 août 2018

how to print only the condition which is true

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