C Program Find Factorial of N
C Program Find Factorial of N Output Enter n number to calculate factorial=5 Factorial of 5 is 120 C Code / C Program To Find Factorial of a number N #include<stdio.h> int main() { int n, i; long fact=1; printf(“Enter n number to calculate factorial=”); scanf(“%d”, &n); for(i=1;i<=n;i++) fact = fact * i; printf(“Factorial of… Read More »