#include <iostream>
#include <cstdlib>
using namespace std;
int main() {
// Variable for seed random number
int seedVal;
cin >> seedVal;
// Generation random numbers
srand(seedVal);
// Output integers numbers
cout << rand() % 10 << endl;
cout << rand() % 10 << endl;
// Exit
return 0;
}
Comments
Leave a comment