879245 ÷ 45 
Our goal is to divide 879245 by 45.

Advancing to step 1:
The number 45 fits into 8 0 times, leaving a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 8 after subtracting 0 from 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 45

On to step 2:
If we divide 87 by 45, we get 1 and a remainder of 42.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 45 from 87 to get 42.
Take the next digit (9) from the dividend and append it to 42, then repeat: 429 / 45

Step 3:
When dividing 429 by 45, we get 9 with a remainder of 24.
The next digit of our result is 9. 
Result so far: 19.0
Subtracting 405 from 429 leaves us with 24.
Append the next digit (2) from the dividend to 24 and continue with: 242 / 45

Moving on to step 4:
The number 45 fits into 242 5 times, leaving a remainder of 17.
Use 5 as the next digit of our solution. 
Result so far: 195.0
Subtract 225 from 242 to get 17.
Take the next digit (4) from the dividend and append it to 17, then repeat: 174 / 45

Advancing to step 5:
When dividing 174 by 45, we get 3 with a remainder of 39.
Use 3 as the next digit of our solution. 
Result so far: 1953.0
The remainder is 39 after subtracting 135 from 174.
Fetch the next digit (5) from the dividend, attach it to 39 and continue: 395 / 45

Going ahead to step 6:
45 goes into 395 8 times with a remainder of 35.
The number 8 becomes the next digit in our result. 
Result so far: 19538.0
Subtract 360 from 395 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 7:
350 divided by 45 is 7 with a remainder of 35.
Use 7 as the next digit of our solution. 
Result so far: 19538.7
Deduct 315 from 350 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 8:
When dividing 350 by 45, we get 7 with a remainder of 35.
Record the quotient 7 as the next digit in the result. 
Result so far: 19538.77
Subtracting 315 from 350 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

The final result is 19538.77 with a remainder of 0.035.