Computers and Technology
Computers and Technology, 11.11.2020 02:40, kandi2565

// 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");
}

}

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 18:00, deathfire5866
Determine whether the following careers would require training or college.
Answers: 1
image
Computers and Technology, 23.06.2019 21:10, jmolina57
Asample of 200 rom computer chips was selected on each of 30 consecutive days, and the number of nonconforming chips on each day was as follows: 8, 19, 27, 17, 38, 18, 4, 27, 9, 22, 30, 17, 14, 23, 15, 14, 12, 20, 13, 18, 14, 20, 9, 27, 30, 13, 10, 19, 12, 26. construct a p chart and examine it for any out-of-control points. (round your answers to four decimal places.)
Answers: 2
image
Computers and Technology, 24.06.2019 00:10, roxymiller3942
Read each statement below. if the statement describes a peer-to-peer network, put a p next to it. if the statement describes a server-based network, put an s next to it. p - peer-to-peer s - server-based
Answers: 1
image
Computers and Technology, 24.06.2019 03:30, glitch14
It is not necessary to develop strategies to separate good information and bad information on the internet. true or false
Answers: 1
Do you know the correct answer?
// DebugFive2.java // Decides if two numbers are evenly divisible
import java. util. Scanner;...

Questions in other subjects:

Konu
Mathematics, 12.02.2021 09:00
Konu
Mathematics, 12.02.2021 09:00