July 24, 2015 · Public
I change to float as follows
I think it should work the way you did it
but rounding errors cause problems.
printf("Enter a number please : ");
printf(" %f to the power %f is %f",Number,Power,answer );