Computer Science, asked by Vrushank6543, 30 days ago

Convert the following decimal numbers into hexa decimal numbers 698

Answers

Answered by FaranAiki
0

We can use the following method:

  1. Floor divides the first number;
  2. The quotient of the previous step will be the next number;
  3. Repeat until the quotient is 0; and
  4. Combine the digit.

698 // 256 = 2;

698 % 256 = 186;

186 // 16 = 11;

186 % 16 = 10;

10 // 1  = 10;

10 % 1 = 0.

So the answer is 0x2ba (note that "b" is the 11th element of the hexadecimal set and "a" is the 10th element of the hexadecimal set).

Similar questions