#includevoid main(){int x,i=0,j,temp[10];printf("请输入一个正整数:\n");scanf("%d",&x);while(x>0){ temp[i++]=x%10; x=x/10;}printf("y=");j=0;while(j{ if(temp[j]%2==0) printf("%d",temp[j]); j++;}printf("\n");}