Friday, April 27, 2018

Convert a Decimal Number into Binary Representation

This is very easy to implement.

Principle to Convert

A decimal number is converted into binary number by repeatedly dividing the number by 2 and prepending the remainder. So the first remainder is placed at Unit Place, Second remainder at Tens Place, Third remainder at Hundreds Place and so on.







No comments:

Post a Comment