c语言学习-猜数字游戏

/*猜数字游戏*/ #include "stdio.h" #include "stdlib.h" //产生随机数要用到的头文件 main() { int x,count=5,number; char answer; system("graftable 936"); clrscr(); randomize(); x=random(100)+1; /*产生1-100之间的随机数*/ pr
相关文章
相关标签/搜索