Challenge 3: Convert Decimal Number to Binary Number
How does the Decimal to Binary Conversion work?
Given a decimal number, you keep dividing the number by 2 until it reaches 1 and records the remainder at each step.
The resulting list of remainders is the equivalent binary number for your decimal number.
The illustration below explains the process of converting a decimal number to a binary number.