## Write a program in C to calculate the factorial of a number

Here in this program, we will code to calculate the factorial of a number entered by the user. What is a factorial? It is a mathematic concept mostly used in permutation, combination, and probability, its symbol is (!). In simple words, a factorial says multiply all whole numbers from our chose number down to 1.