Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rustam-Z/cpp-programming
/ power
Function
power
Lab_07/power.cpp:6–12 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
using namespace std;
5
6
long long int power(long long int x, long long int y)
7
{
8
if (y == 0)
9
return 1;
10
else
11
return x * power(x, y - 1);
12
}
13
14
int main1()
15
{
Callers
1
main1
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected