kerrymose729
kerrymose729 kerrymose729
  • 23-10-2020
  • Health
contestada

how can we add two numbers together without signs​

Respuesta :

goosygander
goosygander goosygander
  • 23-10-2020

Answer:

Write a function that returns sum of two integers. The function should not use any of the arithmetic signs (+, ++,  -, .. etc).The  Sum of two bits can be found by performing XOR(exclusive or) (^) of both bits.

Explanation:

I hope this helps in some way:)

comment if you get it wrong:):)

Answer Link

Otras preguntas

is 1/7  rational or irrational
how do you round 9.92,3.99,2.14,8.39,2.79,8.48,2.96,5.34,and 4.52 to the nearest tenth.
if an organism can not reproduce,is it still considered living?why?
how do you round 9.92,3.99,2.14,8.39,2.79,8.48,2.96,5.34,and 4.52 to the nearest tenth.
How do I do slope intercept for y=3x-4
An innovative rural public health program is reducing infant mortality in a certain West African country. Pretend the program in Senegal has been reducing infa
Identity true statements about quadratic function y = ax^{2} +bx+c, where a =/= 0. (1) It reaches either maximum or minimum at the vertex. (2) Its domain consis
The sum of 2a and 3b
if an organism can not reproduce,is it still considered living?why?
If objects travelling at near the speed of light gain mass because their energy of their motion is being converted into mass, the does a photon gain mass?