Computer Science, asked by leelawatimiyan10, 12 days ago

convert decimal to octal number question 25​

Answers

Answered by rajinder44444singh
1

Here is how to convert decimal to octal step by step:

Step 1: If the given decimal number is less than 8, the octal equivalent is the same. ...

Step 2: Write down the remainder.

Step 3: Divide the part before the decimal point of your quotient by 8 again.

Step 4: Write down the remainder

Answered by yashitasingh2011
0

Answer:

Here is how to convert decimal to octal step by step:

Step 1: If the given decimal number is less than 8, the octal equivalent is the same. If the given number is greater than 7, divide the number by 8.

Step 2: Write down the remainder.

Step 3: Divide the part before the decimal point of your quotient by 8 again.

Step 4: Write down the remainder.

Step 5: Continue this process of dividing by 8 and noting the remainders until the last decimal digit you are left with is less than 8.

Step 6: When the last decimal digit is less than 8, the quotient will be less than 0 and the remainder will be the digit itself.

Step 7: The last remainder you get will be the most significant digit of your octal value while the first remainder from Step 3 is the least significant digit. Therefore, when you write the remainders in reverse order - starting at the bottom with the most significant digit and going to the top- you will reach the octal value of the given decimal number.

Similar questions