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

What is the constant term in the expression 6x^3y + 7x^2 + 5x + 4?
What is Interval training?
Which best explains the connection between setting and plot in Lord of the Flies? A. An idyllic backdrop set the stage the boys' conflict with their own lazines
The use of drugs to treat disease is called?
Which takes place as water cycles from the bottom of the pot toward the top? A. Thermal energy is transferred. B. Water molecules gain kinetic energy. C. Chemic
A triangle has two sides that measure 4.56 cm and 8.65 cm. Which could be the measure of the third side?
Sally has a few choices for lunch: a hamburger, hotdog, or bbq, with French fries, pierogies, or chips. How many different combinations are there to choose from
Is pi rational or irrational?
what is the code for RNA
Help plz!!!!!!!!! I need help please!!!