C++ program to find factorial of a no. by defining the member functions outside the class

 

Sample Input
Enter a no.:4
Sample Output
Factorial of 4 is 24

You may also like...