write a function multiple that determines for a pair of integers whether the secone intger is a multiple of the first. The function should take two intger 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 intgers.

okay... cut and paste this program:

http://www.engin.umd.umich.edu/CIS/course.des/cis400/c/hworld.html

then, add a couple lines: divide is done with the '/' operator and remainder (modulus) is done with the '%' operator.

another option (and one that may save you a lot of time) is to drop the class now, eat the GPA hit, and choose another major.

.

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.