c++ program for factorial

c++ program for factorial

Output:

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

Implementation: