0
已解决
#include<bits/stdc++.h>
using namespace std;
int main()
{
{
int a,b;
cin>>a>>b;
if(a==211212&&b==323411)
{
cout<<"亲爱的朋友,欢迎你!"<<endl;
}
if(a!=211212)
cout<<"用户名错误!";
if(a==211212&&b!=323411)
cout<<"密码错误!";
}
return 0;
}
为什么错了
吴维元在2019-03-31 20:40:19追加了内容
真的吗
吴维元在2019-03-31 20:43:21追加了内容
最好叫陆麟瑞来回答
我不认识你们
我一个一个地往上加
0
0
int a,b;
cin>>a>>b;
if(a==211212){
if(b!=323411)
cout<<"密码错误!";
else{
cout<<"亲爱的朋友,欢迎你!";
}
}
if(a!=211212){
cout<<"用户名错误!";
}
0
0
if(a==211212)
{
if(b==323411)
{
cout << "亲爱的朋友,欢迎你!" ;
}
else
{
cout << "密码错误!" ;
}
}
else
{
cout << "用户名错误!" ;
}
自己看
望采纳


0
