123456789101112131415161718192021222324
#include <iostream> #include <string> using namespace std; int main() { string name; string password; password=xxyy; cout<<"enter your name = "<<endl; cin>>name; cout<<"enter your password = "<<endl; cin>>password; if (password==xxyy) { cout<<"Welcome"<<endl; } else cout<<"wrong password"<<endl; cout<<"goodbye"<<endl; return 0; }