/*WAP in C to raise one number to the power of another*/ #include #include int main () { int b, p ,r; printf ("\nEnter the base value: "); scanf ("%d", &b); printf ("\nEnter the power value: "); scanf ("%d", &p); r = pow (b, p); //must include math.h header file printf("\nThe result of %d ^ %d = %d", b, p, r); return 0; }