This is not a homework.
I would like to know an algorithm on how to add and subtract two binary numbers..
For example, 101 and 111 ( both are binary numbers).
how am i going to get the result of 111 + 101 and 111 - 101? A simple algorithm is very well appreciated.