Excel VBA Recurisive Przykład czynnikowy
Function Factorial(n)
Factorial = 1
If n > 1 Then Factorial = n * Factorial(n - 1)
End Function
Excel Hero
Function Factorial(n)
Factorial = 1
If n > 1 Then Factorial = n * Factorial(n - 1)
End Function