#GESP2646. [GESP]L5-202409-Q2646-S

[GESP]L5-202409-Q2646-S

当 n=7n = 7 时,下面函数的返回值为( )。

int fun(int n) {
    if (n == 1) return 1;
    else if (n >= 5) return n * fun(n - 2);
    else return n * fun(n - 1);
}

{{ select(1) }}

  • 105
  • 840
  • 210
  • 420