New course! Every coder should learn Generative AI!
Try a free lesson0
please help java
Fill in the blanks to print "You rock!" if variable "a" is greater than 15, and variable "b" is less than or equal to 72. int a = 144; int b = 33; if (a > 15 b <= ) { System.out.println("You rock!"); }
3 Answers
+ 2
mesuli mkhize
Check the syntax of if else and
How to check two different condition together
+ 3
// Try it
if (a>15 && b<=72) System.out.println("You rock!");
+ 3
Please put Java in post tags to signify it as the relevant programming language name.
https://code.sololearn.com/W3uiji9X28C1/?ref=app