Horje
recursive factorial of a number Code Example
recursive factorial of a number
factorial(N){
    if(N<=1)
    {
      return 1;
    }
    else
    {
      return (N*factorial(N-1));
    }
}




Cpp

Related
select elements from array C++ Code Example select elements from array C++ Code Example
tower of hanoi Code Example tower of hanoi Code Example
c++ vector structure Code Example c++ vector structure Code Example
sum of n natural numbers in c Code Example sum of n natural numbers in c Code Example
c++ write string Code Example c++ write string Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
12