#include <stdio.h> #include <stdlib.h> #include <time.h> int main() { int a,b; srand((unsigned)time(NULL)); for(b=1;b<=100;b++) a = rand(), printf("%6d ", a); return 0; }