Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- int main ()
- {
- string x1, x2, x3;
- cin >> x1;
- cin >> x2;
- for (int i=0; i<x1.length(); i++)
- {
- x3[i] = x1[i];
- cout << x3[i];
- }
- cout << " ";
- for (int i=0; i<x2.length(); i++)
- {
- x3[i] = x2[i];
- cout << x3[i];
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement