#include<stdio.h>
long fac(int n)
{long h;if(!n)h=1;else h=n*fac(n-1);return(h);
}
int main()
{int n;long h;printf("input n:");scanf("%d",&n);h=fac(n);printf("%d!=%ld\n",n,h);return 0;
}
#include<stdio.h>
long fac(int n)
{long h;if(!n)h=1;else h=n*fac(n-1);return(h);
}
int main()
{int n;long h;printf("input n:");scanf("%d",&n);h=fac(n);printf("%d!=%ld\n",n,h);return 0;
}