Power of a number C++ program

This program calculates the non-negative integer power of an integer
number. The method takes in two int paramaters, number and power. It
then calculates the result of raising the number to the given power and
returns the calculated result. If a negative power is given, the method
simply returns 1.