about | help | code help+videos | done | prefs |
recFactorial
Write a recursive function that computes the factorial of n (often denoted n!), i.e. the product n(n-1)(n-2)...(3)(2)(1). Your function MUST be recursive. You may assume the factorial of zero is one. recFactorial(4) → 24 recFactorial(5) → 120 recFactorial(6) → 720 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy