Power function

In C/C++ (and also other languages), we have the built in power function to raise a number to a given power. What if we need to calculate ...