Ask Question
10 October, 01:33

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.

+1
Answers (1)
  1. 10 October, 01:54
    0
    Public boolean ismultiple (long n, long n)

    {

    return (n % m = = 0);

    }
Know the Answer?
Not Sure About the Answer?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers