Use subtraction:

987 - 89:

Line up our numbers vertically:

  987
_  89

  17
  987
_  89
      8


Column 1:
7 - 9 is < 0, we need to borrow 10.
Column 1: 10 + 7 - 9 = 8


  1717
  987
_  89
    98


Column 2: 8 - 8 is <= 0, and we needed to borrow on the last column.
Therefore, we need to subtract 1 for the borrow in the previous column, and then add 10 for another borrow for this column. Total borrowing is 10 - 1 = 9.
Column 2: 9 + 8 - 8 = 9


  81717
  987
_  89
  898


Column 3:
Since we borrowed on the last column, we take it out of 9
Column 3: 9 - 1 - 0 = 8


Final Answer


Answer = 987 - 89 = 898