Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
RecursiveFact
//Title of this code #include <iostream> #include <string.h> using namespace std; int factorial(int n) { if (n==0) return 1; return n*factorial (n-1); } int main() { cout << "Hello, world!\n"; //-----------------factorial-------------------// int n=0,f; cin>>n; f=factorial(n); cout<<f; }
run
|
edit
|
history
|
help
0
creating triangle using nested loop
ThreadPool
List add
motores
t>0
DeepaC++
Substring search
MyList
BFS Basic
stl_sizeof.cc