how to randomizee 6 numbers in c code example Example: how to genrate a random number in C srand(time(NULL)); int r = rand();