#include<stdio.h> #include<ctype.h>//超级好用的库 int main(){ //所有单词全部存入一个字符串中不利于处理,故分开挨个读取每一个单词 char voc[52]; while(scanf("%s",voc)!=EOF){ //直接使用isupper函数判断首字母是否大写,若大写则直接输出 if(isupper(voc[0])) printf("%c",voc[0]); //使用toupper函数将小写字母转换为大写字母 else printf("%c",touppe...