#include <stdio.h>

int main(int argc, char **argv)
/* Code to calculate the factorial of n */
{
    int n= 10;  /*  We will find the factorial of n */
    int fact_n= 1;  /* This is the answer  */
    int i;
    for (i= 2; i <= n; i++) {
        fact_n= fact_n * i;
    }
    printf ("The factorial of %d is %d\n",n, fact_n);
    return 0;
}

