void main() { int a = 12; int fact(int n) { if (n == 0) return 1; return n * fact(n - 1); } println(a, "! = ", fact(a)); }