18.1.1 階乘函數下面範例是遞迴呼叫函數 n*factorial(n-1) ,當 n>0 時傳回 ... 6 * factorial(5) n = 5 factorial(5) = 5 * factorial(4) n = 4 factorial(4) = 4 ...
確定! 回上一頁