Question: The second branch outputs Less than or equal to - 8 0 when the value of inVal is less than or equal to -

The second branch outputs "Less than or equal to -80" when the value of inVal is less than or equal to -80. Fill in the expression for the first branch that outputs "More than -80".
Ex: If the input is -78, then the output is:
More than -80 import java.util.Scanner;
public class Relational {
public static void main(String[] args){
Scanner scnr = new Scanner(System.in);
int inVal;
inVal = scnr.nextInt();
if (){
System.out.println("More than -80");
}
else {
System.out.println("Less than or equal to -80");
}
}
} finsh the code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!