Răspuns:
1.#include <iostream>
using namespace std;
int main()
{
int n;
cin>>n;
cout<<n%10<<" "<<n/10;
}
2.#include <iostream>
using namespace std;
int main()
{
int n,s=0;
cin>>n;
while(n)
{
s+=n%10;
n/=10;
}
cout<<s;
}
3.#include <iostream>
using namespace std;
int main()
{
int n,k=0;
cin>>n;
while(n)
{
if(n%2==0)
k++;
n/=10;
}
cout<<k;
}
Explicație: