C语言小游戏系列--猜数字(亲测,简单易懂)

#include<stdio.h> #include<iostream> #include<algorithm> #include<time.h> using namespace std; int main() { int n; int number; srand((unsigned)time(NULL)); //产生随机数。 number=rand()%100;
相关文章
相关标签/搜索