On 6 Jun 2006 15:11:17 -0700, "co******@gmail.com"
<co******@gmail.com> wrote:
How to add two numbers without using the plus operator?
This will not, compile, take the ideas:
while (carry!=0) {
sum=a xor carry;
carry=(a and carry) to the left one bit;
}
You must find what to put in sum and carry initiallly. This downgrades
the homework a couple of levels.
If you don't understand it, read the message from presenaama.
Regards, and do your homework!
Zara