Answer:
srand(time(NULL)); //using srand once
cout<< (rand()%50)+100; // first random number
cout<<endl; //new line
cout<< (rand()%50)+100; //second random number
Step-by-step explanation:
The srand function in C++ seeds the rand function. It means that the srand function provides rand function with a number which is used by the random function to generate random numbers.