2009-09-16, 07:23 PM
guess = lowerBound + (rand() % (upperBound - lowerBound));
Is the magic formula that I was looking for. Fiel's code was generating some huge numbers beyond 100
But thanks guys.
Is the magic formula that I was looking for. Fiel's code was generating some huge numbers beyond 100
But thanks guys.

