Help with Remainder Program

I'm having trouble with this remainder program. I can get it to work when num1>num2 but when num2>num1 it says quotient = 0. How can I fix this?

Last edited on
Nevermind I fixed it, I didn't notice I had the quo=num1/num2 in my remainder ifs... I feel dumb.
Topic archived. No new replies allowed.