// Factorial of a number
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <stdlib.h>
int main() {
int n,i=1,prod=1;
scanf("%d",&n);
for(;i<=n;i++)
{
prod=prod*i;
}
printf("%d",prod);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: