|
You cannot directly do multiplication or division, but you can implement them as a program. For example m * n = m + m + ... + m, n times.
For division you can start subtracting the divisor from the dividend until the result is less than zero. The number of times minus 1 you did that subtraction is the quotient. You can easily find the remainder as well.
In later chapter you'll implement better multiplication and division algorithms.
|