#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void main(void)
{
const int maxNumber = 100; //最大的随机数
const int radomCount = 10; //随机数个数
srand((unsigned int)time(0));
for(int i = 0; i < radomCount; i++)
{
printf("%d\n", (1 + (rand() % maxNumber)));
}
}