#include <stdio.h>
#include <stdlib.h>
#include <time.h>
for (i = 0; i < 10; i++) {
srand((unsigned)time(NULL)+(unsigned)rand());
num[i] = rand()%100;
printf("%5d", num[i]);
}
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
for (i = 0; i < 10; i++) {
srand((unsigned)time(NULL)+(unsigned)rand());
num[i] = rand()%100;
printf("%5d", num[i]);
}