#include<stdio.h>#include<math.h>int fact(int n){ if(n<2) return 1; else return(fact(n-1)*n); }int main(){ int N; scanf("%d",&N); printf("%d",fact(N)); return 0;}
No comments