Răspuns:
1.#include <iostream>
using namespace std;
int n,p=1;
int main()
{cin>>n;
while(n!=0)
{p=p*(n%10);
n=n/10;}
cout<<p;
return 0;
}
2.#include <iostream>
using namespace std;
int n,nr_cif;
int main()
{cin>>n;
while(n!=0)
{n=n/10;
nr_cif++;}
cout<<nr_cif;
return 0;
}