Can anyone write a program for subtracting two binary numbers. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can anyone write a program for subtracting two binary numbers.

2nd Jun 2020, 2:37 PM
Abhisekh Prasanta Nayak
2 Answers
0
What is your expected output for 0 - 1
2nd Jun 2020, 2:48 PM
Ambele Newton
Ambele Newton - avatar
0
Use this Answer = !(firstBin && SecondBin)
2nd Jun 2020, 2:54 PM
Ambele Newton
Ambele Newton - avatar