There was an error while loading. Please reload this page.
1 parent eacaaf2 commit 90f624aCopy full SHA for 90f624a
basic/8_factorial.cpp
@@ -1,5 +1,5 @@
1
#include <iostream>
2
-
+//factorial function using recursion
3
using namespace std;
4
5
int factorial(long n)
0 commit comments