void transLate(char * from,char * to);
int main()
{
char num[20];
char eng[11][10]={"zero","two","three","four","five","six","seven","eight","nine","ten"};
int i;
printf("please enter a string of number: ");
gets(num);
for(i=0;num[i]!='\0';i++)
{
transLate(num,eng);
printf("、");
}
printf("\n");
return 0;
}
void transLate(char * from,char * to)
{
printf("%s",to[from-'1']);
}