You are provided with a Java program that includes variables a, b, and c. Fill in the blanks in the expression for a result variable with the appropriate relational operators, ensuring that when the program is executed, the printed result will be true.
Comparing values. Relational operators
The result is true
Report a typo
Fill in the gaps with the relevant elements
public class MyClass {
public static void main(String[] args) {
int a = 20;
int b = 10;
int c = 12;
boolean result = (a b) (b c);
System.out.println(result);
}
}Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.