Java阶乘递归

public static int friSum(int n) { if(n <= 1) { return 1; }else { return n * friSum(n - 1); } }
相关文章
相关标签/搜索