help with random number generator
I have an assignment for school, to make a long story short I'm having trouble with the random number generator. I get two errors saying "error: expected expression before ‘=’ token" they give the line number of the printf statment "printf("%d\n", rand() % (HIGH - LOW + 1) +LOW );". I dont understand what the problem is can anyone please help me.
/* gets time and convert seconds to unsigned int */
/*sets the bounds*/
printf("%d\n", rand() % (HIGH - LOW + 1) +LOW );
/* printf("%d", randnum); */
} while (count <= 11);