0
1
2
3
4
5
6
7
8
9
#
i
s
index
jumlah spasi
jumlah hash
length = 9
middle = (length - 1) / 2
numOfHashes = length - (length - i) + ( i + 1)
numOfSpaces = length - numOfHashes / 2
numOfHashes = (length * 2) - (i * 2) - 1