Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Computing the factorial of an integer using factorial and iteration

Language: Layout:
+ ] Compiler args + ] Show input
Compilation time: 1,66 sec, absolute running time: 0,33 sec, absolute service time: 2 sec 
edit mode |  history  | discussion
5! (using recursion) = 120
5! (using iteration) = 120
-5! (using recursion) = -120
-5! (using iteration) = -120

    
                
λ
.NET NoSQL database for rapid development