How to convert decimal to binary?
Divide by 2: Continuously divide the decimal number by 2 until the quotient is 0. Record the remainder: Record the remainder (either 0 or 1) after each division. Reverse the order of the remainders: Arrange all the remainders in reverse order of the divisions; this will give you the binary representation of the decimal number. […]