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

PROGRAMMING:Count the number of character occurrences

Luz5年前 (2021-05-10)题库413
Count and output the number of times a given character appears in a given string
### Input Specification:
The first line of input gives a string (less than 80 characters),the second line gives one character.
### Output Specification:
Output the number of times a given character occurs in a given string.
### Sample Input:
```in
programming is More fun!
m
```
### Sample Output:
```out
two
```






answer:If there is no answer, please comment