The nm multiplications should be performed. Since we must multiply each digit of the first number by each digit of the second number, we get the n * m number of multiplications.
For example, you need to multiply 45 (n = 2) by 36 (m = 2). Need 6 * 5 -> 6 * 4 -> 3 * 5 -> 3 * 4.
This is 4 = n * m multiplications actions.
Comments
I guess the answer is m×n.
Leave a comment