MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / hehehe

Function hehehe

CPP/recursion/factorial.cpp:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#define endl '\n'
8int sum=1;
9void hehehe(int n)
10{
11 if(n==0) return;
12 sum*=n;
13 n--;
14 hehehe(n);
15}
16int main(){
17 cin.tie(0)->sync_with_stdio(0);
18 int n;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected