#include <stdio.h>

int main() {
    int a=2, b=1, c;  //oppure scrivo il valore di c
    scanf("%d", &c);
    while(a<=c) {
        b=b*a;
        a=a+1;
    }
    printf("%d", b);
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: