//Assumption +ve interger ... no sigh, no .,no float resut is within range of int
int multiplicationWithoutCast(string str1,string str2)
{
int finalresult=0;
if(str2.length() == 1)
{
int result=0;
int intResult =0;
int carry = 0;
int j = 1;
// used unsigned int i so infinite loop bcz never goes below zero
for(int i=str1.length()-1; i>=0; i--,j=j*10) // u did j+10 first :/
{
intResult = (str1[i] - '0' ) * (str2[0] -'0') + carry;
//cout =0;i--,j=j*10)
{
finalresult = finalresult + multiplicationWithoutCast(str1,str2.substr(i,1)) * j;
}
return finalresult;
}
}