#include <iostream> using namespace std; #include<algorithm> #include<string> void myreverse(string& a,int len) { int end=len-1; ...