Factorial of a Number
Factorial for a non-negative integer or number is the multiplication of all positive integers less than or equal to the value. For example factorial for a 5 is 5x4x3x2x1 = 120. This is a part of Data Structure. The above calculation is achieve by the formula of ‘n!’ which can be represent as below. This …