-->
当前位置:首页 > 题库

PROGRAMMING:Count the number of words

Luz5年前 (2021-05-10)题库434
Title Description
Input a line of characters and count how many words there are, separated by spaces.
###Input format:
Enter a line of characters.
###Output format:
Output the number of words.
###Input example:
For example:
Here is a set of inputs. For example:
```in
This is a C program.
```
###Output example:
The corresponding output is given here. For example:
```out
five
```







answer:If there is no answer, please comment