Decimal to Binary and Hex challenge

173 to Binary

173/2 = 86  r 1
86/2 = 43   r 0
43/2 = 21   r 1
21/2 = 10   r 1
10/2 = 5    r 0
5/2 = 2     r 1
2/2 = 1     r 0
1/2 = 0     r 1

1010 1101 = 173
173 to Hex

173/16 = 10 r 13
10/16 = 0   r 10

AD = 173

Perfect! Keep up the good work!

1 Like

Privacy & Terms