Please see my question in description box. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Please see my question in description box.

What is the error the following programing code? int a = 15; int b = 10; if( (a=>b) || (b = 10) ) System.out.println("YES"); else Syestem.out.println("No");

29th Sep 2019, 3:15 PM
Mohammed
2 Answers
+ 1
FOLLOW ME You need to write: if((a>=b)||(b==10))
29th Sep 2019, 3:19 PM
KfirWe
KfirWe - avatar
0
ok
29th Sep 2019, 3:21 PM
Mohammed