摘要: #include<stdio.h>int main(){ int i=0,count=0; char a[100]; scanf("%s",a); while(a[i]!='\0') { if((a[i]-'0')%2==0) count+=(a[i]-'0'); i++; } printf("%d 阅读全文
posted @ 2016-12-23 15:12 legenda 阅读(896) 评论(0) 推荐(0) 编辑