Simple rand() with range
// Get the random number between high and low int high = 444; int low = 222; int answer = rand() % (high - low + 1) + low;
Log in to answer.
leothenerd 6:33 pm on December 7, 2009