Write a function multiple that determines for a pair of integers whether the second integer is a multiple of the first. The function should take two integer arguments and return 1 (true) If the second is a multiple of the first, and 0
(false) otherwise. Use this function in a
program that inputs a series of pairs of
integers.

What code have you written to solve your homework? What problems are you having?
Break the problem up into smaller pieces.
How would you take input for 2 integers?
How would you determine whether the 2nd integer is a multiple of the 1st?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.