question
Oct 21, 2010 at 6:34am
how to perform the division operation between two numbers without using '\' operator but using only '+'and '-' operators
Oct 21, 2010 at 7:25am
a - (copy of) first number, b - second number, c - result
while a > b, subtract b from a and increment c. |
Oct 21, 2010 at 3:33pm
just basic maths in there ;)
seeing that 9 = 3*3 = 3+3+3
so just do what hamsterman said (:
Topic archived. No new replies allowed.