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, 22.06.2019 18:30
If an improvement creates no significant change in a product’s performance, then it is a(n) ? a0 design improvement. (there are no answer choices)
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
Suppose you have 9 coins and one of them is heavier than others. other 8 coins weight equally. you are also given a balance. develop and algorithm to determine the heavy coin using only two measurements with the of the balance. clearly write your algorithm in the form of a pseudocode using the similar notation that we have used in the class to represent sorting algorithms
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
You know the right answer?
// DebugFive2.java // Decides if two numbers are evenly divisible
import java. util. Scanner;...
Questions
question
Mathematics, 24.05.2021 19:40
question
Mathematics, 24.05.2021 19:40
question
English, 24.05.2021 19:40
Questions on the website: 13722363