Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ main
Function
main
CPP/recursion/recursion 1.cpp:22–27 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
return fact(n-1)*n;
21
}
22
int main(){
23
read(n);
24
cout<<fact(n)<<endl;
25
26
return 0;
27
}
Callers
nothing calls this directly
Calls
1
fact
Function · 0.70
Tested by
no test coverage detected