用户:
我是白白查看:0 回复:0 评论:0 创建时间:2022-01-14T10:12:30
python3.0:
print('快说你喵')
a = input()
b = int(0)
while (a!='我喵'):
print('说不说,不说甭想退出循环')
a=input()
b=(b+1)
if(b==1):
print('真乖')
else:
print('早说不就对了吗')
c++:
#include<bits/stdc++.h>
using namespace std;
int main(){
cout<<"快说你喵"<<endl;
string s;
cin>>s;
int b=0;
while(s!="我喵"){
cout<<"说不说,不说甭想退出循环"<<endl;
cin>>s;
b++;
}
if(b==0)cout<<"真乖";
else cout<<"早说不就行了吗";
return 0;
}