#include #include #include using namespace std; int random100(void) { return rand()%100+1; } int main() { /* initialize random seed: */ srand ( time(NULL) ); for(int i=1; i<=100; i++) cout << random100() << endl; return 0; }