转换大小写

乐透775 39 0 zip 2020-04-29 15:04:25

对一个字符串中的所有单词,如果单词的首字母不是大写字母,则把单词的首字母变成大写字母。在字符串中,单词之间通过空白符分隔,空白符包括:空格('')、制表符('\t')、回车符('\r')、换行符('\n')。 Input 输入一行:待处理的字符串(长度小于80)。 Output 输出一行:转换后的字符串。 SampleInput ifso,youalreadyhaveagoogleaccount.youcansigninontheright. SampleOutput IfSo,YouAlreadyHaveAGoogleAccount.You

用户评论
请输入评论内容
评分:
暂无评论