menu
Qammunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
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.
Ask a Question
Questions
Unanswered
Tags
Ask a 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, n = mi for some integer i.
asked
Jun 16, 2018
120k
views
0
votes
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.
Computers & Tech
college
Tdimeco
asked
by
Tdimeco
8.7k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
2
votes
public boolean ismultiple( long n, long n )
{
return( n % m == 0 );
}
Mahdi Jokar
answered
Jun 23, 2018
by
Mahdi Jokar
8.4k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Apr 23, 2018
126k
views
Write a method isMultiple that determines, for a pair of integers, whether the second integer is a multiple of the first. The method should take two integer arguments and return 1 if the second is a multiple
Junioregis
asked
Apr 23, 2018
by
Junioregis
8.4k
points
Computers & Tech
high-school
2
answers
5
votes
126k
views
asked
Oct 16, 2021
178k
views
1. Write a method isMultiple that determines, for a pair of integers, whether the second integer is a multiple of the first. The method should take two integer arguments and return true if the second is
BenceL
asked
Oct 16, 2021
by
BenceL
7.4k
points
Computers & Tech
college
1
answer
1
vote
178k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.4m
questions
12.2m
answers
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
Other Questions
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
Please help me ! All you do is just put it it all in your own words ! Please this is for my reported card!i don't know how to put it in my own words because my English is not that good!
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qammunity.org