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, 21.06.2019 23:00
In a file-oriented information system, a work file stores relatively permanent data about an entity is created and saved for backup and recovery purposes stores records that contain day-to-day business and operational data is a temporary file created by an information system for a single task
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Which tool could be used to display only rows containing presidents who served two terms
Answers: 3
question
Computers and Technology, 24.06.2019 05:30
If you combine two cells into one, what action are you performing? a.  adding a new row or column      b.  splitting the cells      c.  removing a new row or column      d.  merging the cells
Answers: 2
question
Computers and Technology, 24.06.2019 11:20
Every telecommunication setup uses two devices: one device to transmit data and one device to receive data. which device transmits frequencies to mobile phones? towers transmit frequencies to mobile phones.
Answers: 1
You know the right answer?
// DebugFive2.java // Decides if two numbers are evenly divisible
import java. util. Scanner;...
Questions
question
Engineering, 15.03.2020 01:56
question
History, 15.03.2020 01:57
question
History, 15.03.2020 01:59
question
Mathematics, 15.03.2020 01:59