Question on long division using C++

Taking an introduction class for C++ and have an assignment to write a program that emulates long division, NOT floating point division. The assignment is:

Write a complete program that emulates long division, NOT floating point division. Ask the user for two whole numbers-first the numerator, then the denominator. Be sure to tell the user both the result and the remainder in an easy to understand response.

I'm having trouble with displaying the remainder, instead of a decimal. Any help would be greatly appreciated! Thanks.
Post you're code first so we can actually suggest an answer :D
Topic archived. No new replies allowed.