subject

// DebugFive2.java // Decides if two numbers are evenly divisible
import java. util. Scanner;
public class DebugFive2
{
publicstaticvoidmain(Stringargs[])< br /> {
int num;
int num2;
Scanner input =newScanner(System. in);
System. out. print("Enter a number ");
num = input. nextInteger()
System. out. print("Enter another number ");
num2 = inputnextInt();
if((num % num2 ==0) && (num2 % num) ==0)
System. out. println("One of these numbers is evenly divisible into the other");
else
System. out. println("Neither of these numbers is evenly divisible into the other");
}

}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:00
How do we use the sumif formula (when dealing with different formats) ?
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Q13 what function does a security certificate perform? a. creates user accounts b. scrambles data c. identifies users d. creates password policies e. provides file access
Answers: 1
question
Computers and Technology, 23.06.2019 17:10
Ac++an of of pi. in , pi is by : pi = 4 – 4/3 + 4/5 – 4/7 + 4/9 - 4/11 + 4/13 - 4/15 + 4/17 . ., to pi (9 ). , if 5 to pi,be as : pi = 4 - 4/3 + 4/5 - 4/7 + 4/9 = 4 – 1. + 0.8 - 0. + 0. = 3.. atoofbe to pi?
Answers: 2
question
Computers and Technology, 24.06.2019 08:30
Why might you choose to create a functional resume
Answers: 1
You know the right answer?
// DebugFive2.java // Decides if two numbers are evenly divisible
import java. util. Scanner;...
Questions
Questions on the website: 13722366