try:


srand(time(0));
int N = 999;
int random = rand() % N + 100;