dear mike
you can create ur own power function and call it after taking input.


int power(int a,int b)
{
// write your code for power calculation
}