Răspuns:
#include <iostream>
using namespace std;
int main() {
int n, c=0, s=0;
cin>>n;
while(n!=0){
n/=10;
c+=1;}
while (n != 0)
{
if(n%10%2==0)
s = s + n % 10;
n = n / 10;
}
cout<<"Numărul are "<<c<<" cifre<endl;
cout<<"Suma cifrelor pare este "<<s;
return 0;}