#include
#define MAX 100
int main()
{
char A[10][3]={"零","一","二","三","四","五","六","七","八","九"};
char input[MAX];
printf("请输入数字串:\n");
scanf("%s",input);
int i=0;
while(input[i]!='\0')
{
if(input[i] <= '9' && input[i] >= '0')
printf("%s",A[input[i]-'0']);
i++;
}
getchar();
getchar();
return 0;
}
swith case