Numere

Embed Size (px)

DESCRIPTION

Numere

Citation preview

  • #includeusing namespace std;int main(){ long x,x1,c,nr=0,p=1,nr1=0,ok=0,nr3=0,c1,k=0; cout x; x1=x; while (x1!=0) { c=x1%10; x1=x1/10; if(c%2==0) { nr=nr+p*c; p=p*10; } if (c