输出个数
											输入一行分别统计出其中的英文字母,空格,数字和其他字符的个数。										
					
	
				
											# include <stdio.h>
int main ()
{
    int m=0,n=0,t=0,l=0;
    char c1;
    printf("输入字符\n");
     while ((c1=getchar())!='\n') 
       if((c1>='a'&& c1<='z')||(c1>='A'&& c1<='Z'))
                m++;
       else
           if(c1>='0' && c1<='9') 
                n++;
           else
             if(c1==' ')
                t++;
             else l++;
     
    printf("字符个数为:%d\t 数字个数为:%d\t 空格个数为:%d\t 其他字符个数为:%d\t\n",m,n,t,l);
    return 0;
}										
					
	
	
	
	      


 
											





 
	    

 
	
 
											