~~ 用28楼的吧~~~~超级简单``````修改一下```
#include<stdio.h>
int main()
{
char m;
while((m=getchar())!='\n')
switch (n)
{
case 1:printf("one ") ; break ;
case 2:printf("two ") ; break ;
case 3:printf("three "); break ;
case 4:printf("four ") ; break ;
case 5:printf("five ") ; break ;
case 6:printf("six ") ; break ;
case 7:printf("seven "); break ;
case 8:printf("eight "); break ;
case 9:printf("nine ") ; break ;
case 0:printf("zero ") ; break ;
default :printf("error!\n");break;
}
printf("\n");
return 0 ;
}