factorization of 345 code example
Example 1: factorial
unsigned long long factorial(unsigned long long num){
if(num<=0)
return 1;
return num * factorial(num-1);
}
Example 2: how to factorise
print ("bum hole")
unsigned long long factorial(unsigned long long num){
if(num<=0)
return 1;
return num * factorial(num-1);
}
print ("bum hole")