Computer Science
Subtract octal number (2546)8 from (5142)8
Number System
27 Likes
Answer
Therefore, (5142)8 - (2546)8 = (2374)8
Explanation
- 2 - 6, here 6 is greater than 2 so we borrow 1 from next significant digit 4 and it becomes 3. Now 2 becomes 2 + 8 = 10 and 10 - 6 = 4.
- 3 - 4, again 4 is greater than 3 so we borrow 1 from next significant digit 1 and it becomes 0. Current digit 3 becomes 8 + 3 = 11. Lastly, 11 - 4 = 7.
- 0 - 5, here 5 is greater than 0. Borrowing 1 from next significant digit 5 makes it 4. Current digit 0 becomes 0 + 8 = 8. Lastly, 8 - 5 = 3.
- 4 - 2 = 2.
Answered By
5 Likes