Answered step by step
Verified Expert Solution
Question
1 Approved Answer
/ / 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started