🌈 搜索
📅  最后修改于: 2022-03-11 14:52:30.283000             🧑  作者: Mango
public int factorial(int num) { if (num == 0) return 1; else return (num * factorial(num - 1)); }