#include <iostream> using namespace std; #include<string> #include<cctype> int main() { int a = 0; string s, m = ""; getline(cin, s); m += toupper(s[0]); while (true) { int r = s.find(' ', a);//从a处找到空格第一次出现的的位置 if (r == -1)//没找到返回-1 break; m += toupper(s[r + 1]);//toupper...