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

PROGRAMMING:Count the number of words beginning with a specified letter - heboost

Luz5年前 (2021-05-10)题库618
Counts the number of words that begin with a specified letter
###Input format:
The input data is in the form of single line, and the space is used to divide the data. The first data is the beginning letter to be judged, followed by the word sequence.
###Output format:
The output format is single line, integer, specifying the number of words beginning with letters.
###Input example:
Here is a set of inputs. For example:
```in
a about but catoon accept decent
```
###Output example:
The corresponding output is given here. For example:
```out
two
```







answer:If there is no answer, please comment