//Program to check whether the number is even or odd #include<stdio.h> void main() { int n; printf(“enter the value of …
C Program to find factorial of an integer
//calculating factorial of number that is n!=n*(n-1)*(n-2)…..3*2*1 #include<stdio.h> void main() { int fact=1,n; printf(“enter the number”); scanf(“%d”,&n); while(n!=0) { fact=fact*n; …
