Problem C: 文本文件中的字符类别与个数

Problem C: 文本文件中的字符类别与个数

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 545  Solved: 257
[Submit] [Status] [Web Board] [Creator:]

Description

请将文本文件info.dic下载保存到当前目录下,

要求编写C程序,统计info.dic的大写字母、小写字母、数字的个数。

Sample Input Copy

例如,info.dic的内容(结尾有换行):
On July 20, 1969, Armstrong became the first man to walk on the moon.

Sample Output Copy

对应的输出结果为:
upper:3
lower:44
digit:6