I change to float as follows

works now.

I think it should work the way you did it
but rounding errors cause problems.

int main()
{
float Number,Power,answer;

printf("Enter a number please : ");

scanf("%f%f",&Number,&Power);

answer=pow(Number,Power);

printf(" %f to the power %f is %f",Number,Power,answer );

return answer;
}