vendredi 29 octobre 2021

why java cant recognise my Variable in conditional code?

I was wondering why this code cant recognize the int variable I wanted to use the simple condition type like ( condition ? if true : if false) but it can't see my a b c as int variable when I use (&&) operator. but when i tried the normal if condition like if(a>b && b>c); it worked well any idea ?this is what i try and not working

Aucun commentaire:

Enregistrer un commentaire