#include <stdio.h> void main() { char c; int shuzi=0,yingw=0,ct=0; while((c=getchar())!='\n'){ if(c<='9'&&c>='0') shuzi++; else if(c>='a'&&c<='z'||c>='A'&&c<='Z') yingw++; else ct++; } printf("数字有%d个,字母有%d个,其他有%d个",shuzi,y ...
// My TestDlg.cpp : implementation file // #include "stdafx.h" #include "My Test.h" #include "My TestDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// / ...