#include<stdio.h>
int main(int argc,char const*argv[])
{
//得出各位数字的和
char str[999];
int sum=0;
int i = 0;
scanf("%s",str);
do{
sum+=str[i]-'0';
i++;
}while(str[i]!='\0');
//得到这个数的数组
int n=0;
int temp[999];
i=0;
while(sum){
n=sum%10;
temp[i]=n;
sum/=10;
i++;
}
//输出这个数的拼音
char a[10][5]={"ling","yi","er","san","si","wu","liu","qi","ba","jiu"};
int m=0;
i-=1;
int cnt=0;
for(;i>=0;i--){
if(cnt!=0){
printf(" ");
}
cnt++;
m=temp[i];
printf("%s",a[m]);
} ;
return 0;
}
08-21
1146
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-05
136
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-14
753
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-19