Friday, 15 December 2017

TO FIND FACTORIAL OF A NUMBER - C++

In this blog let us see a simple program to find factorial of any number 'n'




In this we have a function to find the factorial and return it to the main() function from where the function fact() is called.

The output of the above program will be as follows:



For any c++ code ask me in the comments below.
I will code and give you the answer, thus making your homework easy.



No comments:

Post a Comment