explain subtraction of decimal number using 9's complement with example
Answers
Answered by
0
The 9's complement is used to find the subtraction of the decimal numbers. ... For example, suppose we have a number 1423, and we want to find the 9's complement of the number. For this, we subtract each digit of the number 1423 by 9. So, the 9's complement of the number 1423 is 9999-1423= 8576.
Answered by
2
9’s complement of subtraction:
Step 1: 999.99 - 837.81 = 162.18
Step 2: 571.52 + 162.18 = 733.70
Since, there is no carry so the final answer is negative. To get the final answer we take 9’s complement of 733.70
Step 3: 999.99 - 733.70 = -266.29
10’s complement of subtraction:
Step 1: 999.99 - 837.81 = 162.18
162.18 + 1 = 162.19
Step 2: 571.12 + 162.19 = 733.31
Since there is no carry so the answer is negative. To get the final answer we take 10’s complement of 733.31
Step 3: 999.99 - 733.31 = 266.68
266.68 + 1 = -266.69
Similar questions