#include "stdio.h" int main(void) { int num = 0; while(scanf("%d",&num) !=EOF) { char *str = (char *)calloc(15,sizeof(char)); sprintf(str,"%d",num);/*将整型数据转换成字符串*/ int j =strlen(str) - 1; int i = 0; int tmp = 0; ...