Challenge Bin Hex

Ex: 103

Binary -> One 64, One 32, Zero 16, Zero 8, One 4, One 2, One 1 -> 1100111
OR
103/2 = 51 r 1
51/2 = 25 r 1
25/2 = 12 r 1
12/2 = 6 r 0
6/2 = 3 r 0
3/2 = 1 r 1
1/2 = 0 r 1
Read remainders backward --> 1100111

Hexadecimal --> 103/16 = 6 r 7
6 / 16 = 0 r 6
Read remainders backward --> 67

1 Like

Awesome job with the challenge!