if two n-digit unsigned numbers are subtracted,then,
for M-N (both in base-r)
M-N=M+r's complement of N
but if we have one n-digit number and other n-1 digit number,this method doesnt work. how it can be done then ? for eg;
(both 46 and 7 are in base-8)
46
-7
for M-N (both in base-r)
M-N=M+r's complement of N
but if we have one n-digit number and other n-1 digit number,this method doesnt work. how it can be done then ? for eg;
(both 46 and 7 are in base-8)
46
-7