3929: C语言程序设计教程(第三版)课后习题8.9
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:16
Solved:15
Description
编写一函数count,由实参传来一个字符串,统计此字符串中字母、数字、空格和其它字符的个数,在主函数中输入字符串以及输出上述结果。 只要结果,别输出什么提示信息。
Input
一行字符串
Output
统计数据,4个数字,空格分开。
Sample Input Copy
!@#$%^QWERT 1234567
Sample Output Copy
5 7 4 6