i am making a railway ticket reservation program.i am using a random function to generate a ticket number randomly..all i want to know is will this function repeat the numbers when i run the program again...i dont want this thing to happen...and what can i do so that it generates only 6 digit number???