摘要:
#include <time.h> #include <stdio.h> #include <stdlib.h> int CreateNumber () { int a; a= rand()%10+1; return a; } //上为生成随机数的函数 名为CreateNumber 调用该函数后可返 阅读全文
posted @ 2025-10-30 11:32
ysdd
阅读(30)
评论(1)
推荐(0)
摘要:
#include <time.h> #include <stdio.h> #include <stdlib.h> int CreateNumber () { int a; a= rand()%10+1; return a; } //上为生成随机数的函数 名为CreateNumber 调用该函数后可返 阅读全文
posted @ 2025-10-30 11:29
ysdd
阅读(8)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include <math.h> #include <stdlib.h> int CreateNumber () { int a; a= rand()%10+1; return a; } //上为生成随机数的函数 名为CreateNumber 调用该函数后可返 阅读全文
posted @ 2025-10-30 10:57
ysdd
阅读(3)
评论(0)
推荐(0)

浙公网安备 33010602011771号