#include<iostream>
#include<cstdlib>
#include<ctime>
using namespace std;
int main(){
srand(time(0));
int a,b;
cin>>b;
a=rand()%(10-1)+1;
if(b==a){
cout<<"哇塞,中奖了";
}
else{
cout<<"谢谢惠顾"<<endl;
}
cout<<"中奖号码:"<<a;
return 0;
}
猜数游戏2(买彩票)
最新推荐文章于 2024-07-19 17:16:35 发布