13.
#include <stdio.h>
int main()
{
char ch;
int let = 0;
int num = 0;
while ((ch = getchar()) != '*')
{
if ((ch >= 'A' && ch <= 'Z') || (ch >= 'a' && ch <= 'z'))
{
let++;
}
else if (ch >= '0' && ch <= '9')
{
num++;
}
}
printf("字母:%d\n", let);
printf("数字:%d\n", num);
return 0;
}