I am trying to implementing Karatsuba's algorithm from wikipedia and I cannot continue to code since I do not know to how to split an integer into lower-half and upper-half. For example, if we have an integer 223, then it should be split into two integer 22 and 3.
How I might do this?
so it has to be something like
num1 = 223;
some magical stuff happening here!
low1 = 22;
low2 = 3;
Thank you very much I really appreciate your help!