#include
using namespace std;
int main(void)
{
int num,largeLetter,smallLetter,other;
num = largeLetter = smallLetter = other = 0;
char *s = new char[100];
cout<<"请输入一串字符:"<
while (*s != '\0')
{
if (*s>='A' && *s<='Z')
largeLetter++;
else if(*s>='a' && *s<='z')
smallLetter++;
else if (*s>='0' && *s<='9')
num++;
else
other++;
s++;
}
cout<<"数字个数为:"<