Marley1670 Marley1670
  • 22-09-2017
  • Computers and Technology
contestada

Write a short java method, ismultiple, that takes two long values, n and m, and returns true if and only if n is a multiple of m, that is, n = mi for some integer i.

Respuesta :

rsmith6559
rsmith6559 rsmith6559
  • 28-09-2017
public boolean ismultiple( long n, long n )
{
    return( n % m == 0 );
}
Answer Link

Otras preguntas

What is 1/3 of $55,000.00
Answer to this question please ASAP
70% of what number is 35 ?
What is the average of 22,28,and 25.
How many toes does a frog have
2 dice are rolled. What is the probability that the sum of the numbers rolled is a number greater than or eaqual to 5
What is 1/4 of 10 explain
What is 1/4 of 10 explain
What is the world formula of photosynthesis? The chemical formula?
How many toes does a frog have