Question: Please Help with all parts Find and fix the error in the if-else statement. import Java.ut1L.Scanner; 3 public class NumberChecker f int userNum; 2 4public
Please Help with all parts
Find and fix the error in the if-else statement. import Java.ut1L.Scanner; 3 public class NumberChecker f int userNum; 2 4public static void main (String args) t Scanner scnr new Scanner(System.in); userNum-scnr.nextIntO; 1/ Program will be tested with values: 0,1, 2, 3 9 10 if CuserNum - 2) System.out.printlnC" Num is equal to two" else t 12 13 14 15 16 17 18 19 System.out.printlnC"Num is not two Check Try again
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
