输入一个正整数repeat (0<repeat<10),做repeat次下列运算 输入一个整数...答:所以你贴的代码和题目有半点关系吗?!!!include <stdio.h> int main(){ int repeat,n,sum,cnt;while(scanf("%d",&repeat)==1){ for(;repeat>0;repeat--){ for(scanf("%d",&n),sum=0,cnt=0;++cnt&&n;n/=10){ sum+=n%10;} printf("%d %d\n",cnt,sum);} } return 0;} ...