猫史档案馆


你应该这样写,

用户:Adorable_GJSAdorable_GJS查看:4 回复:2 评论:4 创建时间:2020-04-30T15:36:23


#include<iostream>
using namespace std;
int main()
{
const int USER=201902,PSW=123456;
int user,psw;
cout<<"用户名:";
cin>>user;
cout<<"密码:";
cin>>psw;
if (user==USER)
if(psw==PSW)
cout<<"欢迎你";
else
cout<<"用户名或密码错误";
return 0; 
}


回复

上一页1 页 / 共 1下一页
Adorable_GJSAdorable_GJS

#include<iostream>
using namespace std;
int main()
{
const int USER=201902,PSW=123456;
int user,psw;
cout<<"用户名:";
cin>>user;
cout<<"密码:";
cin>>psw;
if (user==USER)
if(psw==PSW)
cout<<"欢迎你";
else
cout<<"用户名或密码错误";
return 0; 
}

点赞0


评论


圣婴大王红孩儿圣婴大王红孩儿

哦哦哦,这样啊。我给我的老师提意见

 

点赞0


评论