void main() { int fact(int n) { int i, f = 1; for (i = 1; i <= n; ++i) f = f * i; return f; } println(fact(12)); }