Question: ACIEVT34.3 If-else statement Fix errors. ACTIVITY Start Find and fix the error in the if-else statement. 1 inport java.util,scanner; 3 public class Nunber Checker f

ACIEVT34.3 If-else statement Fix errors. ACTIVITY Start Find and fix the error in the if-else statement. 1 inport java.util,scanner; 3 public class Nunber Checker f 4public static void main (string 11 args) [ int userNum scanner scnr new Scanner(System, in userNum scnr, nextInt0: Program all be tested with values: 1, 2. 3, 4 10 if (user Num 2) ( system, out.println(" Num is less or equal to two"): 12 13 14 15 16 17 else t System.out.printin("Nun is greater than two") 18 19 Check Next
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
