#include <iostream>
#include <cstdlib> // Enables use of rand()
#include <ctime> // Enables use of time()
using namespace std;
int main() {
int seedVal;
cin >> seedVal;
srand(seedVal);
/* Your solution goes here */
cout<<rand() % 50 + 100<<endl;
cout<<rand() % 50 + 100<<endl;
return 0;
}
Comments
Leave a comment