We divide 396002 by 77
We're looking to find how many times 77 goes into 396002.

Advancing to step 1:
If we divide 3 by 77, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 77

Advancing to step 2:
77 goes into 39 0 times with a remainder of 39.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 39 and we're left with 39.
Bring next digit (6) of the dividend behind the 39 and repeat the process: 396 / 77

Step 3:
If we divide 396 by 77, we get 5 and a remainder of 11.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
Subtracting 385 from 396 leaves us with 11.
Include the next digit (0) from the dividend after 11, then repeat: 110 / 77

Advancing to step 4:
When dividing 110 by 77, we get 1 with a remainder of 33.
Record the quotient 1 as the next digit in the result. 
Result so far: 51.0
If we subtract 77 from 110, we get 33.
Include the next digit (0) from the dividend after 33, then repeat: 330 / 77

Going ahead to step 5:
If we divide 330 by 77, we get 4 and a remainder of 22.
Put 4 as the next digit of the answer. 
Result so far: 514.0
Subtracting 308 from 330 leaves us with 22.
Include the next digit (2) from the dividend after 22, then repeat: 222 / 77

Going ahead to step 6:
77 can be fit into 222 2 times, resulting in a remainder of 68.
Record the quotient 2 as the next digit in the result. 
Result so far: 5142.0
If we take 154 away from 222, we end up with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Going ahead to step 7:
The number 77 fits into 680 8 times, leaving a remainder of 64.
Use 8 as the next digit of our solution. 
Result so far: 5142.8
Subtracting 616 from 680 leaves us with 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

Advancing to step 8:
77 can be fit into 640 8 times, resulting in a remainder of 24.
The next digit of our result is 8. 
Result so far: 5142.88
The remainder is 24 after subtracting 616 from 640.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

After the division, we end up with 5142.88 and a remainder of 0.024.