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

Function main

CPP/recursion/Binary_Exponentiation.cpp:21–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21int main(){
22 int a,b;
23
24 cout<<"Enter the number and its power: ";
25 cin>>a>>b;
26
27 int finalAns = binExpRec(a,b);
28 cout<< a << " to the power " << b << " = " << finalAns;
29
30 return 0;
31}

Callers

nothing calls this directly

Calls 1

binExpRecFunction · 0.85

Tested by

no test coverage detected