Hello friends, in this example, you will learn how to find factorials of the given number entered by the user in C programming language.
Before starting the program, we need to know about factorials of a number.
Factorials:-
The factorial of an integer is a number that is equal to the product of that number and all numbers smaller than that.
For Example:
Factorials of 5 is:
Output:
Enter a number to Factorial: 7
Factorial of number is= (7*6*5*4*3*2*1) 5040





1 Comments
Nice post
ReplyDelete