#includemain() { int n,a,cunt=1,sum=0,d,t; scanf("%d",&n); t=n; while(t) { sum+=t%10; t/=10; } printf("sum=%d\n",sum);}