Help with class assignment

I need to write a program for my class that prompts a user to enter a bank account number and account balance. That part is easy and I got that done.

The second part asks me to: "complete each account number by adding a check digit that is the remainder when the account number is divided by 5"

I am a little unclear as to what the book wants. Is it telling me to divide the account number by 5 and add the number to the end of the account number?

Or does it want me to do modulus and add that result to the end of the account number?

Any help is appreciated!
It said the remainder, which you get via the modulus. So I would assume the latter.
Topic archived. No new replies allowed.