Friday, 21 June 2019

Factorial number use Recursion function


Factorial number use Recursion function



Step1: Start
Step2: if N=0 then
                   Set Fact=1 and Return
Step3: Call: Factorial (Fact, N-1)
Step4: Set Fact=N*Fact
Step5: End

No comments:

Post a Comment