怎么让数字顺序用英文读出来呢??
例如 输入 数字 932 输出 nine three two
#include<stdio.h>
int main()
{
char str[10][9]={"zero","one","two","three","four",
"five","six","seven","eight","nine"};
char h;
scanf("%c",&h);
while(h!='q')
{
if(h>='0'&&h<='9')
printf("%s\n",str[h-'0']);
scanf("%c",&h);
}
getchar();
return 0;
}