04.08.2014, 14:05
this is because random(2) will return either 0 or 1 it will never return 2
example random(n) will return random variable between 0 and (n - 1)
example random(n) will return random variable between 0 and (n - 1)