Question: What am I doing wrong? // Determine if a number is diisahle by another number System.out.println (Please enter 2 numbers); Scanner in- new Scanner(System.in); int
What am I doing wrong?

// Determine if a number is diisahle by another number System.out.println ("Please enter 2 numbers"); Scanner in- new Scanner(System.in); int num1- in.nextInt); int num2- in.nextInt); if (num1 % num2 !-0) System.out.println("Number is divisable by the another"); h else System.out.println ("Number is non-divisable")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
