question
how to perform the division operation between two numbers without using '\' operator but using only '+'and '-' operators
a - (copy of) first number, b - second number, c - result
while a > b, subtract b from a and increment c. |
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.