try this:-
Code:
# include<iostream.h>
# include<math.h>
int main()
{
int i,j;
double temp1,temp2,k;
cin>>i>>j;
temp1=log10(i);
temp2=log10(j);
k=pow(10,temp1+temp2);
cout<<k;
}