I was doing a problem for finding factorial of a given number… Well, the code hold correct for every other integers except 0.
Knowing mathematically the factorial of 0 is 1 and NOT 0.
So, using if else will be the right choice… So that when input is 0 it shows 1 and otherwise the rest of the code is executed?
