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

PROGRAMMING:Count the character numbers of each category

Luz5年前 (2021-05-10)题库486
Input several characters, count the numbers of letters, digits, spaces ( include space,tab ), and other characters.
###Input format:
Input an arbitrary string (<80 charatcer ), stop by enter key.
###Output format:
output the number of letters, digits, spaces, and other characters, separater by comma.
###Input example:
```in
visual c++ 6.0
```
###Output example:
```out
letter=7,space=2,digit=2,other=3
```







answer:If there is no answer, please comment