#include <string> using namespace std; void myfunc(string code){ string tempstr; int distance; //小写大,大写小 distance = 'a' - 'A'; for (int i = 0; i < code.size(); ++i) { if (code[i]>'a'-1&&code[i]<'z'+1){ //小写字母 if (code[i] == 'z'){ tempstr.push_back('A'); } else{ int a = code[i]...