Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chaharnishant11/CodeIn10DSA
/ main
Function
main
Recursion/Homework/factorial.cpp:22–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
};
21
22
int main()
23
{
24
int t;
25
cin>>t;
26
while(t--)
27
{
28
int N;
29
cin>>N;
30
Solution ob;
31
cout << ob.factorial(N) << endl;
32
}
33
return 0;
34
}
Callers
nothing calls this directly
Calls
1
factorial
Method · 0.80
Tested by
no test coverage detected