A factorial program that I wrote using C language that will ask the user to give a number and then it will compute the factorial value of the given number using recursion method.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Program Listing

#include <stdio.h>

int factorial_function(int num);

int main()
{
   int number_given=0;

   printf("\n");
   printf("\tFactorial a Number Using Recursion in C");
   printf("\n\n");
   printf("\tGive a Number : ");
   scanf("%d",&number_given);
   int result = factorial_function(number_given);
   printf("\n");
   printf("\tThe Factorial of %d = %d", number_given, result);
   printf("\n\n");
   printf("\tEnd of Program");
   printf("\n");
   return 0;
}
int factorial_function(int num)
{
   if(num ==0) return 1;
   else return (num*factorial_function(num-1));
}