# include <stdio.h>
# include <math.h>
main ()
{
int x, y,z;
printf ("Enter a number:");
scanf ("% d", & x);
printf ("Enter the power:");
scanf ("% d", & y);
z = pow (x, y);
printf ("\ n");
printf ("result:% d \ n", z);
}
No comments:
Post a Comment