Master ()
{
int n,x;
int I;
int mul = 1;
Printf ("Please enter the value of n:");
scanf("%d ",& ampn);
Printf ("Please enter the value of x:");
scanf("%d ",& ampx);
for(I = 0; I & ltn;; i++)
mul = mul * x;
Printf("x to the nth power is %d\n ",mul);
}