jeudi 23 février 2017

Why doesn't this if-statement work with && and || in same if

    else if((op1 == "*" || op1 == "/" )&& (op2 == '+' || op2 == '-'))
        return true;

my op1 is * my op2 is + but im still return false

Aucun commentaire:

Enregistrer un commentaire