全部代码
test
test.c
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main(){
srand(time(0));
int a=rand();
a%=100;
printf("%d",a);
return 0;
}