题目内容
求一个3位数各个位上值的和。(如123为1+2+3=6)#include main( ){ int m,s,a,b,c,d,e;scanf("%d",&m);a=m/100;b=(1) ;c=(2) ;s=a+b+c;printf("s=%d",s);
查看答案
搜索结果不匹配?点我反馈
更多问题