C program to find factorial of a number using functions

C program to find factorial of a number using functions

Output:

Enter a number to get its factorial:
5
The factorial of 5 is 120

Implementation: