#include<stdio.h>
main()
{
int x=156,a,b,c,sum;
c=x/100;
b=(x-100)/10;
a=x%10;
sum=a+b+c;
printf("c=%d,b=%d,a=%d,sum=%d",a,b,c,sum);
return 0;
}
main()
{
int x=156,a,b,c,sum;
c=x/100;
b=(x-100)/10;
a=x%10;
sum=a+b+c;
printf("c=%d,b=%d,a=%d,sum=%d",a,b,c,sum);
return 0;
}