#include<iostream>
using namespace std;
int main()
{
string str1,str2,str3;
cout<<"Enter the first string:";
getline(cin,str1);
cout<<"Enter the second string:";
getline(cin,str2);
str3=str1+str2;
cout<<"new string is:"<<str3;
return 0;
}
Easy programming and better way to learn the programming . if you like the scorce code do like like share and subscribe the chennel.
No comments:
Post a Comment