MCPcopy 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}
22int main(){
23 read(n);
24 cout<<fact(n)<<endl;
25
26 return 0;
27}

Callers

nothing calls this directly

Calls 1

factFunction · 0.70

Tested by

no test coverage detected