#include #include // for rand and srand functions #include using namespace std; int main() { int num = 0; // srand(time(NULL)); srand(1); for (int i = 0; i < 100; i++) { num = rand() % 100 + 1; cout << num << " "; } return 0; }