Can you do addition in Logo without using the PRINT SUM command? if yes, then how ?
Answers
Answered by
3
Answer:
Yes!
Explanation:
Write a function Add() that returns sum of two integers. The function should not use any of the arithmetic operators (+, ++, –, -, .. etc). Sum of two bits can be obtained by performing XOR (^) of the two bits.
Similar questions