1/n factorial code example
Example 1: factorial of 0
factorial(0) = 1
Example 2: write a program to find factorial of a number
#include<stdio.h>
int main()
{
int i,fact=1,number;
printf("Enter a number: ");
scanf("%d",&number);
for(i=1;i<=number;i++){
fact=fact*i;