Question: java Fill in the blanks to make the below if statements true. Scanner input = new Scanner(); System.out.println(Enter an integer:); int x = input.nextInt(); if
java
Fill in the blanks to make the below if statements true.
Scanner input = new Scanner(); System.out.println("Enter an integer:"); int x = input.nextInt(); if (____Blank A____) { // Output "x is greater than 70" } else if (___Blank B____) { // Output "x is greater than 50 but less than or equals to 70" } else { // Output "Otherwise" }
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
