问答题

简答题

程序改错:功能:读入一个英文文本*行,将其中每个单词的第一个字母改成大写,然后输出此文本*行(这里的“单词”是指由空格隔开的字符串)。
例如:若输入:“I am a student to take the examination.”,
则应输出:“I Am A Student To Take The Examination.”。


【参考答案】