Recursion realted

here can i make the base condition to be 0

@Amre-8800,
Of course. There won’t be any problem. Factorial of 1 will also return and factorial of 0 will also return 1. It’s that if we use n==1 in the base condition , we can save the additional call for fact(0)