Write a short Java function, isMutiple, that takes two long values, n and m, returns true if and only if n is a multiple of m,
that is, n = m i for some integer i.
I have no idea with this question. Can you help me? Thanks.
Printable View
Write a short Java function, isMutiple, that takes two long values, n and m, returns true if and only if n is a multiple of m,
that is, n = m i for some integer i.
I have no idea with this question. Can you help me? Thanks.
Can you show us what you think that the method signature should look like? That is the skeleton of the method, its return type, its parameters, without worrying about the innards? Let's start there.