#include<Windows.h>
#include<stdio.h>
#include<time.h>
int main(){
srand(time(NULL));
int i = rand()%100;
printf("%d\n",i);
system("pause");
return 0;
}
产生简单的随机数
猜你喜欢
转载自blog.csdn.net/weixin_49324123/article/details/110308443
今日推荐
周排行