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

Survival of the fittest is the theme for natural selection. True or false
What is the meaning of the quote from the magna carta "no free man shall be taken, or imprisoned ... Save by the lawful judgment of his peers[equals]"
Which of the following questions is most clearly analytical in nature? A. What websites can offer more information about the story? B. What effect does be
Princeton caught 42 fish this summer, which is 70% of the number of fish his friend Trenton caught.
What could be the the reasons for adopting contraceptive methods?
By 1914, which European nation had the most powerful navy? a. Russia b. France c. Germany d. Great Britain
what are the eight business functions
When recombinant DNA is inserted into the genome of a host organism, what's created?
The attempted coup against the Soviet government in 1991 was led by
in a certain plant yellow leaves dominant and recessive a plant with genotype Yy and a plant with Yy and a plant with uppercase are crossed if they have four O