Example 1:

From ICTED-WIKI
Jump to navigation Jump to search

(34)10

solution:

Conversion of decimal number 34 into binary is:

34 / 2 = 17 with remainder 0

17 / 2 = 8 with remainder 1

8 / 2 = 4 with remainder 0

4 / 2 = 2 with remainder 0

2 / 2 = 1 with remainder 0

1 / 2 = 0 with remainder 1

Hence, the decimal number 34 in binary is 100010.