Soru

n! değerini özyinelemeli döndür (0! = 1).

Örnekler

  • faktoriyel(4) → 24
  • faktoriyel(0) → 1
Derle ve test et (Ctrl+Enter)