#include <cstdlib> #include <time.h> #include <iostream> using namespace std; //#include <cmath> int main() { int i=0; srand(time(NULL));//Initialize random number generator while (i!=100) { cout<<rand()<<endl; i++; } cin.get(); return 0; }