C program to find factorial of a number using for loop

C program to find factorial of a number using for loop

Output:

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

Implementation: