6.16 (Multiples) Write a method  isMultiple that determines, for a pair of integers , whether  the second integer  is a multiple of the first. Themethod  should take two integer arguments  and return true  if the second is a multiple of the first and false  otherwise. [Hint: Use the remainder operator .] Incorporate this method  into an application that inputs a series of pairs of integers  (one pair at a time) and determineswhether  the second value  in each pair is a multiple of the first.har()

Leave a Reply

Your email address will not be published.