6788 ÷ 8 = 848 R4
We're going to perform division on 6788 with 8 as the divisor.

Step 1:
8 goes into 6 0 times with a remainder of 6.
Write down 0 as next digit of of the result. 
Result so far: 0
Subtract 0 from 6 to get 6.
Bring next digit (7) of the dividend behind the 6 and repeat the process: 67 / 8

Step 2:
8 goes into 67 8 times with a remainder of 3.
Write down 8 as next digit of of the result. 
Result so far: 8
Subtract 64 from 67 to get 3.
Bring next digit (8) of the dividend behind the 3 and repeat the process: 38 / 8

Step 3:
8 goes into 38 4 times with a remainder of 6.
Write down 4 as next digit of of the result. 
Result so far: 84
Subtract 32 from 38 to get 6.
Bring next digit (8) of the dividend behind the 6 and repeat the process: 68 / 8

Step 4:
8 goes into 68 8 times with a remainder of 4.
Write down 8 as next digit of of the result. 
Result so far: 848
Subtract 64 from 68 to get 4.

The final result is 848 with a remainder of 4.