Advertisement
Guest User

Untitled

a guest
Jan 20th, 2020
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include <iostream>
  2. #include <algorithm>
  3. #include <cmath>
  4. #include <vector>
  5. #include <string>
  6. #include <ctime>
  7.  
  8. using namespace std;
  9.  
  10. char __separator = ' ';
  11.  
  12. int main() {
  13.     string s;
  14.     cin >> s;
  15.     cout << "+380(57)" << s[0] << "-" << s[1] << s[2] << s[3] << "-" << s[4] << s[5] << s[6];
  16.  
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement