We're dividing 879939 by 18 
Let's see how many times 18 fits into 879939.

Let's proceed to step 1:
The number 18 fits into 8 0 times, leaving a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 18

Moving on to step 2:
If we divide 87 by 18, we get 4 and a remainder of 15.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Deduct 72 from 87 and we're left with 15.
Fetch the next digit (9) from the dividend, attach it to 15 and continue: 159 / 18

Advancing to step 3:
159 divided by 18 is 8 with a remainder of 15.
Write down 8 as next digit of the result. 
Result so far: 48.0
The remainder is 15 after subtracting 144 from 159.
Include the next digit (9) from the dividend after 15, then repeat: 159 / 18

Moving on to step 4:
159 divided by 18 is 8 with a remainder of 15.
Write down 8 as next digit of the result. 
Result so far: 488.0
If we take 144 away from 159, we end up with 15.
Grab the next digit (3) from the dividend, add it to 15, then carry on: 153 / 18

Let's proceed to step 5:
If we divide 153 by 18, we get 8 and a remainder of 9.
Use 8 as the next digit of our solution. 
Result so far: 4888.0
If we subtract 144 from 153, we get 9.
Fetch the next digit (9) from the dividend, attach it to 9 and continue: 99 / 18

Advancing to step 6:
99 divided by 18 is 5 with a remainder of 9.
The next digit of our result is 5. 
Result so far: 48885.0
If we take 90 away from 99, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 7:
The number 18 fits into 90 5 times, leaving a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 48885.5
Deduct 90 from 90 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
18 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 48885.5
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
18 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 48885.5
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The quotient of the division is 48885.5, and the remainder is 0.0.