answersLogoWhite

0

One way to do it might be like this:

  1. Get / store the integer to be subtracted from, and the integer to subtract-we'll call them A and B.
  2. Decrement A and B by 1 each.
  3. If B = 0, stop. A now contains the result.
  4. If B ≠ 0, decrement A and B by one again.
  5. Repeat from step 3.
User Avatar

Wiki User

13y ago

What else can I help you with?