标签:
aklsjflj123 sadf918u324 asdf91u32oasdf/.‘;123
23 16 2 4
#include<stdio.h>
int
main()
{
char
c;
int
i=0,j=0,k=0,l=0;
while
((c=
getchar
())!=
‘\n‘
)
{
if
(c>=65&&c<=90||c>=97&&c<=122) i++;
else
if
(c>=48&&c<=57) j++;
else
if
(c==32) k++;
else
l++;}
printf
(
"%d %d %d %d"
,i,j,k,l);
}
标签:
原文地址:http://www.cnblogs.com/SSYYGAM/p/4211111.html