0
How can we add a and b without using mathematical operators and sum() function
In python or java
2 ответов
+ 1
You can use binary operators such as AND, OR, XOR, and NOT to perform binary addition
+ 1
Here is a code for addition:
https://code.sololearn.com/cEiQ2h02164T/?ref=app
You can search for binary arithmetic on google/youtube.
Read also the lessons about bitwise operators.