首先輸入1表示開始游戲,輸入0表示退出游戲,輸入其他數(shù)字提示錯(cuò)誤; 接下來,輸入一個(gè)猜的數(shù)字,計(jì)算機(jī)提示你猜大了或是猜小了,直至猜正確。 #include #include ...
首先輸入1表示開始游戲,輸入0表示退出游戲,輸入其他數(shù)字提示錯(cuò)誤; 接下來,輸入一個(gè)猜的數(shù)字,計(jì)算機(jī)提示你猜大了或是猜小了,直至猜正確。 #include #include ...
#include #include <vector> #include <ctime> #include <cstdlib> #include <conio.h> #incl...