Question
Find the $10$'s complement of decimal number $00,000,000$
My Approach
$r^{'s}$ complement of $N$=$r^{n}-N$
where $n$= number of digitin $N$
Now $10^{'s}$ complement of $00,000,000$=
$10^{8}-00,000,000=100,000,000$
Everywhere answer is $00,000,000$
Am i Wrong?
Please help me out!
$-0=0$ so you would like the tens complement to be $0$. If you have eight digits of $0$s you don't store the ninth digit so ignore the leading $1$.