Explicație:
a)int nr=3;
if(n%10%2==1)
nr--;
if((n/10)%10%2==1)
nr--;
if((n/100)%2==1)
nr--;
cout<<nr;
b)int ok=0;
while(n)
{
if(n%10==0)
{ok=1;
break;
}
n/=10;
}
if(ok)
cout<<"da";
else
cout<<"nu";
c)
if(n/100 <= n/10%10 <= n%10)
cout<<"da";
else
cout<<"nu";
d)int ogl;
ogl=(n%10)*100 + (n/10%10)*10 + n/100;
cout<<ogl;
e) if(n%10==n/10%10 + n/100 || n/10%10==n%10+n/100 || n/100== n%10+n/10%10)
cout<<"da";
else
cout<<"nu";