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
123
string iteration performance
-Wall -std=c++14 -O0 -o a.out source_file.cpp
scope new delete
project: bank account
string match2
HelloWorldExample
Zadanie Kalkulator z bajerami
anagram
Dar