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
相關文章
相關標籤/搜索