#include
using namespace std;
int main() {
int n,k=1,m,p=0;
cout<<"n = "; cin>>n;
while (n>0) {
m=n%10;
if (m%2==1) {k*=m; p=1; }
n=n/10;
}
if (p>0) cout<<"result: "<<k;<br> else cout<<"no odd digits";<br> cout<<endl;<br>
system("pause");
return 0;
}