Convert 28542 to Binary

Explanation:

To convert the number 28542 to binary, we need to divide it successively by 2 and record the remainder for each division. The remainders, read in reverse order, give us the binary representation of the number.

28542 divided by 2 gives a quotient of 14271 with a remainder of 0. Dividing 14271 by 2 gives a quotient of 7135 with a remainder of 1.

Continuing this process, we eventually get 0 as the quotient and 1 as the remainder.

So, the binary representation of 28542 is 110111101010110.

← Finding the address range of virtually mapped special function registers in pic18f452 microcontroller Objectives of c programming assignment using dynamic memory in c →