下面代码采用递推算法来实现整数 nn 的阶乘(n!=n×(n−1)×⋯×2×1n!=n\times(n-1)\times\cdots\times2\times1),则横线上应填写( )。

 int factorial(int n) {    int result = 1;    for (int i = 2; i <= n; i++) {      ________________________________ // 在此处填入代码    }    return result; }
填写答案