Master ()
{ int a,b,c,d;
printf(" dishu:");
scanf("%d ",& ampa);
printf(" cishu:");
scanf("%d ",& ampb);
printf(" beichu:");
scanf("%d ",& ampc);
d=(int)(pow((double)(a)、(double)(b)))% c; //Because the function pow requires the parameter to be of double type, so cast,% requires the operand to be of int type, and then cast.
printf("%d\n ",d);
}