jeudi 18 avril 2019

How to 'Properly use if else on variables with different values'

I have an if-else statement wherein it would not run if two variables have the same value. But if those two variables are both "0", it would run.

if (a != b){
     //it should also proceed here if a and b are both "0". What should my statement be?
}

Aucun commentaire:

Enregistrer un commentaire