You are viewing a single comment's thread. Return to all comments →
int main() { // Complete the program string a , b , c; cin>>a>>b; cout<<a.length()<<" "<<b.length()<<endl; cout<<(a+b)<<endl; cout<<(b.substr(0,1)+a.substr(1,a.length()))<<" "<<(a.substr(0,1)+b.substr(1,b.length())); return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Strings
You are viewing a single comment's thread. Return to all comments →