///G. Hagopian
/// PPP18 ex 6

/** 6. Modify cat_dot() from the previous exercise to take a string
to be used as the separator (rather than dot) as its third argument.*/

#include<iostream>
using namespace std;

string cat_dot(const string& s1, const string& s2, const string& s3) {
    return s1+s2+s3;
}

int main() {
    string s1{"cat"};
    string s2{"dot"};
    string s3{"dog"};
    cout << cat_dot(s1,s2,s3);
}


