#include<iostream>
#include<string>
#include<stdio.h>
using namespace std;
int main(void)
{
string str1;
cout<<"Enter your first name:";
getline(cin,str1);
string str2;
cout<<"Enter your second name:";
getline(cin,str2);
str1.erase(1,1);
str2.erase(1,1);;
str2.erase(2,1);
str1+=str2;
cout<<"your password is "<<str1<<endl;
return 0;
}
#include<string>
#include<stdio.h>
using namespace std;
int main(void)
{
string str1;
cout<<"Enter your first name:";
getline(cin,str1);
string str2;
cout<<"Enter your second name:";
getline(cin,str2);
str1.erase(1,1);
str2.erase(1,1);;
str2.erase(2,1);
str1+=str2;
cout<<"your password is "<<str1<<endl;
return 0;
}