Posts

Showing posts with the label convert number decimal to binary

Decimal to binary conversion C++ program { Method 1 }

Image
For the conversion of decimal to binary, what we do. We divide number by 2 until we get 0 and then write the remainders. see the image.