#2
kfyniriu2018-12-07 09:08
|
#include<stdio.h>
extern letter num kon other
login(char c1)
{
if(c1>='a'&&c1<='z'||c1>='A'&&c1<='Z')
letter++;
if(c1>='0'&&c1<='9')
num++;
if(c1='')
kon++;
else
other++;
}
main()
{
int letter,num,kon,other;
char c1;
while((c1=getchar())!='\n')
login(c1);
printf("%d %d %d %d",letter,num,kon,other);
}