about | help | code help+videos | done | prefs |
Factorial! Write a method to calculate the factorial of a given integer value as an input. Your method will return the integer factorial product. Example 5 -> 120 -- remember 0! by definition is equal to ONE (There will be no negative numbers as a parameter) factorial(0) → 1 factorial(1) → 1 factorial(2) → 2 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100 Post-solution available
Copyright Nick Parlante 2017 - privacy