输入一行字符,统计其中单词的个数,单词之间用空格间隔。
一串英文的字符串
字符串中英文单词数目
As he came into the window It was the sound of a crescendo. He came into her apartement. He left the bloodstains on the carpet.
There are 25 words in the line.