answersLogoWhite

0

convert decimal to octal

Updated: 10/17/2024
User Avatar

Nati Ashenefi

Lvl 1
βˆ™ 1y ago

Best Answer

166 in decimal

User Avatar

Loraine Durgan

Lvl 9
βˆ™ 1y ago
This answer is:
User Avatar
More answers
User Avatar

Ashin Vincent

Lvl 2
βˆ™ 1y ago

To convert a decimal number to octal, you can follow these steps:

Divide the decimal number by 8.

Write down the remainder.

Divide the result of step 1 by 8.

Write down the remainder.

Repeat steps 3 and 4 until the result of the division is 0.

The octal representation of the decimal number is the remainders written down in step 2, followed by the remainders in reverse order from step 4 onwards.

For example, to convert the decimal number 156 to octal, we can divide it by 8 as follows:

156 / 8 = 19 remainder 4

19 / 8 = 2 remainder 3

2 / 8 = 0 remainder 2

So the octal representation of 156 is 234, and we can check that this is correct by converting 234 back to decimal: 28^2 + 38^1 + 4*8^0 = 156.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Convert decimal to octal
Write your answer...
Submit
Still have questions?
magnify glass
imp