Im not sure what your trying to do but the modulas '%' operator shows the remainder between division of two numbers. If I am guessing at what you want right you'll want to do something like this
int holdRemainder;
int value1 =10;
int value2 = 3;
std::cout<<value1<<" / "<<value2<<" = "<<value1/value2<<std::endl;
holdRemainder = value1 % value2
std::cout<<"With a remainder of "<<holdRemainder;
Also even when your post that little of code it's nice to use code tags
I'm trying not to use too much code..It looks like someone else in my class is also here asking for help..I am doing the same final assignment as the person looking for a function to add..etc.