Question: / / DebugFive 2 . java / / Decides if two numbers are evenly divisible import java.util.Scanner; public class DebugFive 2 { public static void
DebugFivejava
Decides if two numbers are evenly divisible
import java.util.Scanner;
public class DebugFive
public static void mainString args
int num;
int num;
Scanner input new ScannerSystemin;
System.out.printEnter a number ;
num input.nextInt;
System.out.printEnter another number ;
num input.nextInt;
ifnum num && num num
System.out.printlnOne of these numbers is;
System.out.println evenly divisible into the other";
else
System.out.printlnNeither of these numbers is;
System.out.println evenly divisible into the other";
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
