Advertisement
IvanB61

Zadatak 10.

Jan 30th, 2023
989
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.30 KB | None | 0 0
  1. #include <bits/stdc++.h>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6.  
  7.     string s,t;
  8.     cin >> s >> t;
  9.     int n = s.size();
  10.     string rjesenje = "";
  11.     for(int i = 0; i < n; i++){
  12.             rjesenje+=s[i];
  13.             rjesenje+=t[i];
  14.     }
  15.     cout << rjesenje << endl;
  16.     return 0;
  17. }
  18.  
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement