c++ generate random number upper and lower bound code example
Example: c++ generate random number upper and lower bound
int randomBetween( int lowerBound, int upperBound )
{
int upperbound, lowerbound;
int randomBetween = rand() % (upperbound-lowerbound) + upperbound;
return randomBetween;
}