Ask Question
1 April, 05:30

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.

+3
Answers (1)
  1. 1 April, 07:47
    0
    Public boolean ismultiple (long n, long n)

    {

    return (n % m = = 0);

    }
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “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, ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers