jeudi 14 mars 2019

What is the difference between else if and && or ||?

Hello, is what i wrote below the same thing?

if(number >= 0 && number <= 99){}

and

if(number >= 0){}
else if(number <= 9){}

I hope this question readable Thanks

Aucun commentaire:

Enregistrer un commentaire