摘要:
``` /** * Description:阶乘 0! = 1,n! = (n-1)! * n; */
public class Factorial { public static int fac(int n){ if(n == 0 | n == 1) return 1; if(n > 1) return fac(n-1)*n; el... 阅读全文
posted @ 2017-12-06 23:27
希望在田野上
阅读(372)
评论(0)
推荐(0)
浙公网安备 33010602011771号