n = 10100
x = 0
do while (n > 1)
{
n = random(n) // Generates random integer in the range 1...n
x = x + 1
end-do
}
www.000webhost.com