这个题目明显用数组比用switch简单
#include<stdio.h>
void main()
{
char a[10][10]={"zero","one","tow","tree","four","five","six","seven","eght","nine"};
int i;
char b[10];
while(scanf("%s",b)!=EOF)
{
for(i=0;b[i];i++)
printf("%s ",a[b[i]-'0']);
printf("\n");
}
}