国产成人AV一区二区三区在线_国产成人精品无码免费看_国产成人无码无卡在线观看_国产精品成人A区在线观看_国产日韩精品欧美一区_国产亚洲精品自在久久蜜TV_久草热久草热线频97精品_久久久噜噜噜久久中文福利_久久婷婷五月综合色国产免费观看_日日狠狠久久偷偷色综合0,九一桃色在线观看,久久97精品久久久久久久不卡,国产成人精品亚洲精品

我這個(gè)猜數(shù)字游戲怎么才能設(shè)置輸入的次數(shù)

訪客2024-12-06 06:25:071

#include<iostream>#include <stdlib.h>#include<ctime>using namespace std;int main(){ srand((unsigned int)time(NULL)); int num= rand()%100+1;int a ;while (1){cin>>a;{ break;}if(a>num){ cout<<"數(shù)字過(guò)大"<<endl;}else if (a<num){cout<<"數(shù)字過(guò)小"<<endl;}else{ cout<<"恭喜你猜對(duì)了"<<endl; break;}}return 0;}

問(wèn)題固定的無(wú)法更換了...坑,

文章評(píng)論