int age(int n) { int c; if(n<0) printf("error\n") ; else if(n==0,n==1) c=1; else c=age(n-1)*n; return c; } main() { int x; scanf("%d",&x); printf("%d",age(x)); getch(); }